C# Class Nancy.Security.MembershipUser

Inheritance: IUserIdentity
Afficher le fichier Open project: GestUAB/GestUAB Class Usage Examples

Private Properties

Свойство Type Description
UpdateSelf void
UpdateUser void

Méthodes publiques

Méthode Description
ChangePassword ( string oldPassword, string newPassword ) : bool
ChangePasswordQuestionAndAnswer ( string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
GetPassword ( ) : string
GetPassword ( string answer ) : string
MembershipUser ( string name, object providerUserKey, string email, string passwordQuestion, string comment, bool isApproved, bool isLockedOut, System.DateTime creationDate, System.DateTime lastLoginDate, System.DateTime lastActivityDate, System.DateTime lastPasswordChangedDate, System.DateTime lastLockoutDate ) : System
ResetPassword ( ) : string
ResetPassword ( string answer ) : string
ToString ( ) : string
UnlockUser ( ) : bool

Méthodes protégées

Méthode Description
MembershipUser ( ) : System

Private Methods

Méthode Description
UpdateSelf ( MembershipUser fromUser ) : void
UpdateUser ( ) : void

Method Details

ChangePassword() public méthode

public ChangePassword ( string oldPassword, string newPassword ) : bool
oldPassword string
newPassword string
Résultat bool

ChangePasswordQuestionAndAnswer() public méthode

public ChangePasswordQuestionAndAnswer ( string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
password string
newPasswordQuestion string
newPasswordAnswer string
Résultat bool

GetPassword() public méthode

public GetPassword ( ) : string
Résultat string

GetPassword() public méthode

public GetPassword ( string answer ) : string
answer string
Résultat string

MembershipUser() protected méthode

protected MembershipUser ( ) : System
Résultat System

MembershipUser() public méthode

public MembershipUser ( string name, object providerUserKey, string email, string passwordQuestion, string comment, bool isApproved, bool isLockedOut, System.DateTime creationDate, System.DateTime lastLoginDate, System.DateTime lastActivityDate, System.DateTime lastPasswordChangedDate, System.DateTime lastLockoutDate ) : System
name string
providerUserKey object
email string
passwordQuestion string
comment string
isApproved bool
isLockedOut bool
creationDate System.DateTime
lastLoginDate System.DateTime
lastActivityDate System.DateTime
lastPasswordChangedDate System.DateTime
lastLockoutDate System.DateTime
Résultat System

ResetPassword() public méthode

public ResetPassword ( ) : string
Résultat string

ResetPassword() public méthode

public ResetPassword ( string answer ) : string
answer string
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string

UnlockUser() public méthode

public UnlockUser ( ) : bool
Résultat bool