The UserInfo type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| UserInfo | DotNetNuke.Entities.Users.UserInfo |
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.) |
Properties
| Name | Description | |
|---|---|---|
| AffiliateID |
Gets and sets the AffiliateId for this user
| |
| Cacheability | ||
| CreatedByUserID |
Gets the CreatedByUserID
(Inherited from BaseEntityInfo.) | |
| CreatedOnDate |
Gets the CreatedOnDate
(Inherited from BaseEntityInfo.) | |
| DisplayName |
Gets and sets the Display Name
| |
Gets and sets the Email Address
| ||
| FirstName |
Gets and sets the First Name
| |
| FullName | Obsolete. | |
| IsDeleted |
Gets and sets whether the User is deleted
| |
| IsSuperUser |
Gets and sets whether the User is a SuperUser
| |
| LastIPAddress |
Gets and sets the Last IP address used by user
| |
| LastModifiedByUserID |
Gets the LastModifiedByUserID
(Inherited from BaseEntityInfo.) | |
| LastModifiedOnDate |
Gets the LastModifiedOnDate
(Inherited from BaseEntityInfo.) | |
| LastName |
Gets and sets the Last Name
| |
| Membership |
Gets and sets the Membership object
| |
| PasswordResetExpiration |
gets and sets the datetime that the PasswordResetToken is valid
| |
| PasswordResetToken |
gets and sets the token created for resetting passwords
| |
| PortalID |
Gets and sets the PortalId
| |
| Profile |
Gets and sets the Profile Object
| |
| RefreshRoles | Obsolete. | |
| Roles | ||
| Social |
Gets and sets the Social property
| |
| UserID |
Gets and sets the User Id
| |
| Username |
Gets and sets the User Name
| |
| VanityUrl |