Class MembershipPropertyAccess
Inheritance
System.Object
MembershipPropertyAccess
Implements
Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke.dll
Syntax
public class MembershipPropertyAccess : object, IPropertyAccess
Constructors
| Improve this Doc View SourceMembershipPropertyAccess(UserInfo)
Initializes a new instance of the MembershipPropertyAccess class.
Declaration
public MembershipPropertyAccess(UserInfo user)
Parameters
Type | Name | Description |
---|---|---|
UserInfo | user |
Properties
| Improve this Doc View SourceCacheability
Gets the cache level for property access.
Declaration
public CacheLevel Cacheability { get; }
Property Value
Type | Description |
---|---|
CacheLevel |
Methods
| Improve this Doc View SourceGetProperty(String, String, CultureInfo, UserInfo, Scope, ref Boolean)
Gets a property.
Declaration
public string GetProperty(string propertyName, string format, CultureInfo formatProvider, UserInfo accessingUser, Scope currentScope, ref bool propertyNotFound)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The property name to get. |
System.String | format | The format string to format the property with, or |
CultureInfo | formatProvider | The format provider (e.g. |
UserInfo | accessingUser | The user this property belongs to, UserInfo. |
Scope | currentScope | |
System.Boolean | propertyNotFound | An out parameter that indicates if the property was not found. |
Returns
Type | Description |
---|---|
System.String | A string with the value of the property. |