UserReference

data class UserReference(val username: String, val pseudonym: String?, val isRegisteredUser: Boolean)

Represents a reference to a user in AO3.

Users who are active as themselves (i.e. their display names do not have brackets) should pass in null as a pseudonym.

Constructors

Link copied to clipboard
constructor(username: String, pseudonym: String?, isRegisteredUser: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

True if the user is registered, false if the user is not registered (i.e. anonymous).

Link copied to clipboard

Represents the pseudonym used by the referred user at the time of the activity in question (e.g. posting works, commenting, viewing a pseud profile).

Link copied to clipboard

Represents the username of the referred user if the user is a registered Archive member. If the user is not registered (i.e. the UserReference is anonymous), then this property represents the name used by the unregistered UserReference.