Interface IUserInfo
Assembly: DotNetNuke.Abstractions.dll
Syntax
public interface IUserInfo
Properties
AffiliateID
Declaration
int AffiliateID { get; set; }
Property Value
DisplayName
Declaration
string DisplayName { get; set; }
Property Value
Email
Declaration
string Email { get; set; }
Property Value
FirstName
Declaration
string FirstName { get; set; }
Property Value
HasAgreedToTerms
Declaration
bool HasAgreedToTerms { get; set; }
Property Value
HasAgreedToTermsOn
Declaration
DateTime HasAgreedToTermsOn { get; set; }
Property Value
IsAdmin
Declaration
Property Value
IsDeleted
Declaration
bool IsDeleted { get; set; }
Property Value
IsSuperUser
Declaration
bool IsSuperUser { get; set; }
Property Value
LastIPAddress
Declaration
string LastIPAddress { get; set; }
Property Value
LastName
Declaration
string LastName { get; set; }
Property Value
PasswordResetExpiration
Declaration
DateTime PasswordResetExpiration { get; set; }
Property Value
PasswordResetToken
Declaration
Guid PasswordResetToken { get; set; }
Property Value
PortalID
Declaration
int PortalID { get; set; }
Property Value
RequestsRemoval
Declaration
bool RequestsRemoval { get; set; }
Property Value
Roles
Declaration
string[] Roles { get; set; }
Property Value
UserID
Declaration
Property Value
Username
Declaration
string Username { get; set; }
Property Value
VanityUrl
Declaration
string VanityUrl { get; set; }
Property Value
Methods
IsInRole(string)
Declaration
bool IsInRole(string role)
Parameters
Type |
Name |
Description |
string |
role |
|
Returns
LocalTime()
Declaration
Returns
LocalTime(DateTime)
Declaration
DateTime LocalTime(DateTime utcTime)
Parameters
Returns
UpdateDisplayName(string)
Declaration
void UpdateDisplayName(string format)
Parameters
Type |
Name |
Description |
string |
format |
|
Extension Methods