Class ProfilePropertyAccess
Inheritance
ProfilePropertyAccess
Assembly: DotNetNuke.dll
Syntax
public class ProfilePropertyAccess : IPropertyAccess
Constructors
ProfilePropertyAccess(UserInfo)
Declaration
public ProfilePropertyAccess(UserInfo user)
Parameters
Properties
Cacheability
Declaration
public CacheLevel Cacheability { get; }
Property Value
Methods
CheckAccessLevel(IPortalSettings, ProfilePropertyDefinition, UserInfo, UserInfo)
Declaration
public static bool CheckAccessLevel(IPortalSettings portalSettings, ProfilePropertyDefinition property, UserInfo accessingUser, UserInfo targetUser)
Parameters
Returns
CheckAccessLevel(PortalSettings, ProfilePropertyDefinition, UserInfo, UserInfo)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use the overload that takes IPortalSettings instead. Scheduled for removal in v11.0.0.")]
public static bool CheckAccessLevel(PortalSettings portalSettings, ProfilePropertyDefinition property, UserInfo accessingUser, UserInfo targetUser)
Parameters
Returns
DisplayDataType(ProfilePropertyDefinition)
Declaration
public static string DisplayDataType(ProfilePropertyDefinition definition)
Parameters
Returns
GetProperty(string, string, CultureInfo, UserInfo, Scope, ref bool)
Declaration
public string GetProperty(string propertyName, string format, CultureInfo formatProvider, UserInfo accessingUser, Scope currentScope, ref bool propertyNotFound)
Parameters
Returns
GetRichValue(ProfilePropertyDefinition, string, CultureInfo)
Declaration
public static string GetRichValue(ProfilePropertyDefinition property, string formatString, CultureInfo formatProvider)
Parameters
Returns
Implements
Extension Methods