Show / Hide Table of Contents

Class UserProfile

Inheritance
object
UserProfile
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke.dll
Syntax
public class UserProfile

Constructors

UserProfile()

Declaration
public UserProfile()

UserProfile(UserInfo)

Declaration
public UserProfile(UserInfo user)
Parameters
Type Name Description
UserInfo user

Fields

USERPROFILE_Biography

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_Biography = "Biography"
Field Value
Type Description
string

USERPROFILE_Cell

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_Cell = "Cell"
Field Value
Type Description
string

USERPROFILE_City

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_City = "City"
Field Value
Type Description
string

USERPROFILE_Country

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_Country = "Country"
Field Value
Type Description
string

USERPROFILE_Fax

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_Fax = "Fax"
Field Value
Type Description
string

USERPROFILE_FirstName

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_FirstName = "FirstName"
Field Value
Type Description
string

USERPROFILE_IM

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_IM = "IM"
Field Value
Type Description
string

USERPROFILE_LastName

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_LastName = "LastName"
Field Value
Type Description
string

USERPROFILE_Photo

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_Photo = "Photo"
Field Value
Type Description
string

USERPROFILE_PostalCode

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_PostalCode = "PostalCode"
Field Value
Type Description
string

USERPROFILE_PreferredLocale

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_PreferredLocale = "PreferredLocale"
Field Value
Type Description
string

USERPROFILE_PreferredTimeZone

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_PreferredTimeZone = "PreferredTimeZone"
Field Value
Type Description
string

USERPROFILE_Region

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_Region = "Region"
Field Value
Type Description
string

USERPROFILE_Street

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_Street = "Street"
Field Value
Type Description
string

USERPROFILE_Telephone

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_Telephone = "Telephone"
Field Value
Type Description
string

USERPROFILE_TimeZone

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_TimeZone = "TimeZone"
Field Value
Type Description
string

USERPROFILE_Title

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_Title = "Title"
Field Value
Type Description
string

USERPROFILE_Unit

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_Unit = "Unit"
Field Value
Type Description
string

USERPROFILE_Website

Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the properties on this class instead. Scheduled for removal in v11.0.0.")]
public const string USERPROFILE_Website = "Website"
Field Value
Type Description
string

Properties

Biography

Declaration
public string Biography { get; set; }
Property Value
Type Description
string

Cell

Declaration
public string Cell { get; set; }
Property Value
Type Description
string

City

Declaration
public string City { get; set; }
Property Value
Type Description
string

Country

Declaration
public string Country { get; set; }
Property Value
Type Description
string

Fax

Declaration
public string Fax { get; set; }
Property Value
Type Description
string

FirstName

Declaration
public string FirstName { get; set; }
Property Value
Type Description
string

FullName

Declaration
public string FullName { get; }
Property Value
Type Description
string

IM

Declaration
public string IM { get; set; }
Property Value
Type Description
string

IsDirty

Declaration
public bool IsDirty { get; }
Property Value
Type Description
bool

this[string]

Declaration
public object this[string name] { get; set; }
Parameters
Type Name Description
string name
Property Value
Type Description
object

LastName

Declaration
public string LastName { get; set; }
Property Value
Type Description
string

Photo

Declaration
public string Photo { get; set; }
Property Value
Type Description
string

PhotoURL

Declaration
public string PhotoURL { get; }
Property Value
Type Description
string

PostalCode

Declaration
public string PostalCode { get; set; }
Property Value
Type Description
string

PreferredLocale

Declaration
public string PreferredLocale { get; set; }
Property Value
Type Description
string

PreferredTimeZone

Declaration
public TimeZoneInfo PreferredTimeZone { get; set; }
Property Value
Type Description
TimeZoneInfo

ProfileProperties

Declaration
public ProfilePropertyDefinitionCollection ProfileProperties { get; }
Property Value
Type Description
ProfilePropertyDefinitionCollection

Region

Declaration
public string Region { get; set; }
Property Value
Type Description
string

Street

Declaration
public string Street { get; set; }
Property Value
Type Description
string

Telephone

Declaration
public string Telephone { get; set; }
Property Value
Type Description
string

Title

Declaration
public string Title { get; set; }
Property Value
Type Description
string

Unit

Declaration
public string Unit { get; set; }
Property Value
Type Description
string

Website

Declaration
public string Website { get; set; }
Property Value
Type Description
string

Methods

ClearIsDirty()

Declaration
public void ClearIsDirty()

GetProperty(string)

Declaration
public ProfilePropertyDefinition GetProperty(string propName)
Parameters
Type Name Description
string propName
Returns
Type Description
ProfilePropertyDefinition

GetPropertyValue(string)

Declaration
public string GetPropertyValue(string propName)
Parameters
Type Name Description
string propName
Returns
Type Description
string

InitialiseProfile(int)

Declaration
public void InitialiseProfile(int portalId)
Parameters
Type Name Description
int portalId

InitialiseProfile(int, bool)

Declaration
public void InitialiseProfile(int portalId, bool useDefaults)
Parameters
Type Name Description
int portalId
bool useDefaults

SetProfileProperty(string, string)

Declaration
public void SetProfileProperty(string propName, string propValue)
Parameters
Type Name Description
string propName
string propValue

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS