Class UserProfile
Assembly: DotNetNuke.dll
Syntax
Constructors
UserProfile()
Declaration
UserProfile(UserInfo)
Declaration
public UserProfile(UserInfo user)
Parameters
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Properties
Biography
Declaration
public string Biography { get; set; }
Property Value
Cell
Declaration
public string Cell { get; set; }
Property Value
City
Declaration
public string City { get; set; }
Property Value
Country
Declaration
public string Country { get; set; }
Property Value
Fax
Declaration
public string Fax { get; set; }
Property Value
FirstName
Declaration
public string FirstName { get; set; }
Property Value
FullName
Declaration
public string FullName { get; }
Property Value
IM
Declaration
public string IM { get; set; }
Property Value
IsDirty
Declaration
public bool IsDirty { get; }
Property Value
this[string]
Declaration
public object this[string name] { get; set; }
Parameters
Type |
Name |
Description |
string |
name |
|
Property Value
LastName
Declaration
public string LastName { get; set; }
Property Value
Photo
Declaration
public string Photo { get; set; }
Property Value
PhotoURL
Declaration
public string PhotoURL { get; }
Property Value
PhotoURLFile
Declaration
[Obsolete("Deprecated in DotNetNuke 7.2.2. Use PhotoUrl instead. Scheduled for removal in v10.0.0.")]
public string PhotoURLFile { get; }
Property Value
PostalCode
Declaration
public string PostalCode { get; set; }
Property Value
PreferredLocale
Declaration
public string PreferredLocale { get; set; }
Property Value
PreferredTimeZone
Declaration
public TimeZoneInfo PreferredTimeZone { get; set; }
Property Value
ProfileProperties
Declaration
public ProfilePropertyDefinitionCollection ProfileProperties { get; }
Property Value
Region
Declaration
public string Region { get; set; }
Property Value
Street
Declaration
public string Street { get; set; }
Property Value
Telephone
Declaration
public string Telephone { get; set; }
Property Value
Title
Declaration
public string Title { get; set; }
Property Value
Unit
Declaration
public string Unit { get; set; }
Property Value
Website
Declaration
public string Website { get; set; }
Property Value
Methods
ClearIsDirty()
Declaration
public void ClearIsDirty()
GetProperty(string)
Declaration
public ProfilePropertyDefinition GetProperty(string propName)
Parameters
Type |
Name |
Description |
string |
propName |
|
Returns
GetPropertyValue(string)
Declaration
public string GetPropertyValue(string propName)
Parameters
Type |
Name |
Description |
string |
propName |
|
Returns
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
Extension Methods