DotNetNuke API Reference
UserInfo Class
NamespacesDotNetNuke.Entities.UsersUserInfo
The UserInfo class provides Business Layer model for Users
Declaration Syntax
C#Visual BasicVisual Basic Usage
<SerializableAttribute> _
Public Class UserInfo _
	Inherits BaseEntityInfo _
	Implements IPropertyAccess
Dim instance As UserInfo
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
UserInfo()()()()
Initializes a new instance of the UserInfo class

AffiliateID
Gets and sets the AffiliateId for this user

Cacheability
CreatedByUser[([( Int32])])
Gets the UserInfo object associated with this user
(Inherited from BaseEntityInfo.)
CreatedByUserID
Gets the CreatedByUserID
(Inherited from BaseEntityInfo.)
CreatedOnDate
Gets the CreatedOnDate
(Inherited from BaseEntityInfo.)
DisplayName
Gets and sets the Display Name

Email
Gets and sets the Email Address

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FillInternal(IDataReader)
Fills a BaseEntityInfo from a Data Reader
(Inherited from BaseEntityInfo.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FirstName
Gets and sets the First Name

FullName Obsolete.
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetProperty(String, String, CultureInfo, UserInfo, Scope, Boolean%)
Property access, initially provided for TokenReplace

GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsDeleted
Gets and sets whether the User is deleted

IsInRole(String)
IsInRole determines whether the user is in the role passed

IsSuperUser
Gets and sets whether the User is a SuperUser

LastIPAddress
Gets and sets the Last IP address used by user

LastModifiedByUser[([( Int32])])
Gets the UserInfo object associated with this user
(Inherited from BaseEntityInfo.)
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

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
PortalID
Gets and sets the PortalId

Profile
Gets and sets the Profile Object

RefreshRoles
Gets and sets whether the User's roles should be refreshed

Roles
Gets and sets the Roles for this User

ToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Inherited from JsonExtensionsWeb.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UpdateDisplayName(String)
UpdateDisplayName updates the displayname to the format provided

UserID
Gets and sets the User Id

Username
Gets and sets the User Name

Remarks
Inheritance Hierarchy

Assembly: DotNetNuke (Module: DotNetNuke) Version: 5.6.0.459