The UserInfo type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | ClearRoles | Obsolete. |
![]() | CloneBaseProperties | (Inherited from BaseEntityInfo.) |
![]() | CreatedByUser |
Gets the UserInfo object associated with this user
(Inherited from BaseEntityInfo.) |
![]() | Equals | (Inherited from Object.) |
![]() | FillInternal |
Fills a BaseEntityInfo from a Data Reader
(Inherited from BaseEntityInfo.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetProperty |
Property access, initially provided for TokenReplace
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsInRole |
IsInRole determines whether the user is in the role passed
|
![]() | LastModifiedByUser |
Gets the UserInfo object associated with this user
(Inherited from BaseEntityInfo.) |
![]() | LocalTime()()()() |
Gets current time in User's timezone
|
![]() | LocalTime(DateTime) |
Convert utc time in User's timezone
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UpdateDisplayName |
UpdateDisplayName updates the displayname to the format provided
|
Extension Methods
Name | Description | |
---|---|---|
![]() | ToJson |
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.) |