The UserInfo type exposes the following members.

Methods

  NameDescription
Public methodClearRoles Obsolete.
Protected methodCloneBaseProperties (Inherited from BaseEntityInfo.)
Public methodCreatedByUser
Gets the UserInfo object associated with this user
(Inherited from BaseEntityInfo.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFillInternal
Fills a BaseEntityInfo from a Data Reader
(Inherited from BaseEntityInfo.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetProperty
Property access, initially provided for TokenReplace
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsInRole
IsInRole determines whether the user is in the role passed
Public methodLastModifiedByUser
Gets the UserInfo object associated with this user
(Inherited from BaseEntityInfo.)
Public methodLocalTime()()()()
Gets current time in User's timezone
Public methodLocalTime(DateTime)
Convert utc time in User's timezone
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateDisplayName
UpdateDisplayName updates the displayname to the format provided

Extension Methods

  NameDescription
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)

See Also