• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class MembershipPropertyAccess

Inheritance
System.Object
MembershipPropertyAccess
Implements
IPropertyAccess
Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke.dll
Syntax
public class MembershipPropertyAccess : object, IPropertyAccess

Constructors

| Improve this Doc View Source

MembershipPropertyAccess(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 Source

Cacheability

Gets the cache level for property access.

Declaration
public CacheLevel Cacheability { get; }
Property Value
Type Description
CacheLevel

Methods

| Improve this Doc View Source

GetProperty(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 null to use the default format.

CultureInfo formatProvider

The format provider (e.g. ) to use.

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.

Implements

IPropertyAccess

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS