System.Web.Security.MembershipUser Members

The members of System.Web.Security.MembershipUser are listed below.

See Also: Inherited members from System.Object

Public Constructors

Creates a new membership user object with the specified property values.

Protected Constructors

Creates a new instance of a System.Web.Security.MembershipUser object for a class that inherits the System.Web.Security.MembershipUser class.

Public Properties

Commentstring.

Gets or sets application-specific information for the membership user.

[read-only]
CreationDateDateTime.

Gets the date and time when the user was added to the membership data store.

Emailstring.

Gets or sets the e-mail address for the membership user.

IsApprovedbool.

Gets or sets whether the membership user can be authenticated.

[read-only]
IsLockedOutbool.

Gets a value indicating whether the membership user is locked out and unable to be validated.

[read-only]
IsOnlinebool.

Gets whether the user is currently online.

LastActivityDateDateTime.

Gets or sets the date and time when the membership user was last authenticated or accessed the application.

[read-only]
LastLockoutDateDateTime.

Gets the most recent date and time that the membership user was locked out.

LastLoginDateDateTime.

Gets or sets the date and time when the user was last authenticated.

[read-only]
LastPasswordChangedDateDateTime.

Gets the date and time when the membership user's password was last updated.

[read-only]
PasswordQuestionstring.

Gets the password question for the membership user.

[read-only]
ProviderNamestring.

Gets the name of the membership provider that stores and retrieves user information for the membership user.

[read-only]
ProviderUserKeyobject.

Gets the user identifier from the membership data source for the user.

[read-only]
UserNamestring.

Gets the logon name of the membership user.

Public Methods

ChangePassword(string, string) : bool

Updates the password for the membership user in the membership data store.

ChangePasswordQuestionAndAnswer(string, string, string) : bool

Updates the password question and answer for the membership user in the membership data store.

GetPassword() : string

Gets the password for the membership user from the membership data store.

GetPassword(string) : string

Gets the password for the membership user from the membership data store.

ResetPassword() : string

Resets a user's password to a new, automatically generated password.

ResetPassword(string) : string

Resets a user's password to a new, automatically generated password.

override
ToString() : string

Returns the user name for the membership user.

UnlockUser() : bool

Clears the locked-out state of the user so that the membership user can be validated.