Click or drag to resize
User Class
Representation of user identity.
Inheritance Hierarchy
SystemObject
  Kentico.MembershipUser

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 12.0.0
Syntax
C#
public class User : IUser<int>

The User type exposes the following members.

Constructors
  NameDescription
Public methodUser
Creates empty user.
Public methodUser(UserInfo)
Creates new user from UserInfo.
Top
Properties
  NameDescription
Public propertyEmail
Email.
Public propertyEnabled
Indicates if the user is enabled. This represents the lockout notion in ASP.NET Identity.
Public propertyFirstName
First name.
Public propertyGUID
Guid.
Public propertyId
User ID.
Public propertyIsExternal
Indicates that the user can be logged in only through an external authentication provider.
Public propertyLastName
Last name.
Public propertyPasswordHash
Password hash.
Public propertyRoles
Roles of the user.
Public propertySecurityStamp
A unique value that should change whenever user credentials have changed, e.g.: password reset, external login removal, etc.
Public propertyUserName
User name.
Top
See Also