C# Класс Nancy.Security.MembershipUser

Наследование: IUserIdentity
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
UpdateSelf void
UpdateUser void

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
MembershipUser ( ) : System

Приватные методы

Метод Описание
UpdateSelf ( MembershipUser fromUser ) : void
UpdateUser ( ) : void

Описание методов

ChangePassword() публичный Метод

public ChangePassword ( string oldPassword, string newPassword ) : bool
oldPassword string
newPassword string
Результат bool

ChangePasswordQuestionAndAnswer() публичный Метод

public ChangePasswordQuestionAndAnswer ( string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
password string
newPasswordQuestion string
newPasswordAnswer string
Результат bool

GetPassword() публичный Метод

public GetPassword ( ) : string
Результат string

GetPassword() публичный Метод

public GetPassword ( string answer ) : string
answer string
Результат string

MembershipUser() защищенный Метод

protected MembershipUser ( ) : System
Результат System

MembershipUser() публичный Метод

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
Результат System

ResetPassword() публичный Метод

public ResetPassword ( ) : string
Результат string

ResetPassword() публичный Метод

public ResetPassword ( string answer ) : string
answer string
Результат string

ToString() публичный Метод

public ToString ( ) : string
Результат string

UnlockUser() публичный Метод

public UnlockUser ( ) : bool
Результат bool