Table of Contents

Class ApplicationUser

Namespace
Kentico.Membership
Assembly
Kentico.Membership.dll

Representation of application user identity.

public class ApplicationUser : IdentityUser<int>
Inheritance
object
IdentityUser<int>
ApplicationUser
Extension Methods

Constructors

ApplicationUser()

Creates empty user.

public ApplicationUser()

ApplicationUser(MemberInfo)

Creates new user from MemberInfo.

public ApplicationUser(MemberInfo memberInfo)

Parameters

memberInfo MemberInfo

Member info (CMS entity).

Exceptions

ArgumentNullException

memberInfo is null.

Properties

Enabled

Indicates if the user is enabled. This represents the lockout notion in ASP.NET Identity.

public bool Enabled { get; set; }

Property Value

bool

IsExternal

Indicates if the user uses external authentication.

public bool IsExternal { get; set; }

Property Value

bool

Methods

MapFromMemberInfo(MemberInfo)

Maps MemberInfo properties to the ApplicationUser instance.

public virtual void MapFromMemberInfo(MemberInfo source)

Parameters

source MemberInfo

Source object.

Exceptions

ArgumentNullException

source is null.

MapToMemberInfo(MemberInfo)

Maps ApplicationUser properties to the MemberInfo instance.

public virtual void MapToMemberInfo(MemberInfo target)

Parameters

target MemberInfo

Target object.

Exceptions

ArgumentNullException

target is null.