C# Class Nancy.Security.MembershipUser

Inheritance: IUserIdentity
Datei anzeigen Open project: GestUAB/GestUAB Class Usage Examples

Private Properties

Property Type Description
UpdateSelf void
UpdateUser void

Public Methods

Method 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

Protected Methods

Method Description
MembershipUser ( ) : System

Private Methods

Method Description
UpdateSelf ( MembershipUser fromUser ) : void
UpdateUser ( ) : void

Method Details

ChangePassword() public method

public ChangePassword ( string oldPassword, string newPassword ) : bool
oldPassword string
newPassword string
return bool

ChangePasswordQuestionAndAnswer() public method

public ChangePasswordQuestionAndAnswer ( string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
password string
newPasswordQuestion string
newPasswordAnswer string
return bool

GetPassword() public method

public GetPassword ( ) : string
return string

GetPassword() public method

public GetPassword ( string answer ) : string
answer string
return string

MembershipUser() protected method

protected MembershipUser ( ) : System
return System

MembershipUser() public method

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
return System

ResetPassword() public method

public ResetPassword ( ) : string
return string

ResetPassword() public method

public ResetPassword ( string answer ) : string
answer string
return string

ToString() public method

public ToString ( ) : string
return string

UnlockUser() public method

public UnlockUser ( ) : bool
return bool