Метод | Описание | |
---|---|---|
Exists ( string userName ) : bool |
Existses the specified user name.
|
|
GetUser ( string email ) : |
Gets the user.
|
|
GetUsers ( string searchString ) : List |
||
HashPassword ( string valueToHash ) : string |
Hashes the password.
|
|
IsValid ( string userName, string password ) : bool |
Determines whether the specified user and password is valid.
|
|
ResetPassword ( string userName ) : string |
Resets the password.
|
|
Save ( |
Метод | Описание | |
---|---|---|
CreateHash ( string valueToHash, string key ) : string |
Creates the hash.
|
public static Exists ( string userName ) : bool | ||
userName | string | Name of the user. |
Результат | bool |
public static GetUser ( string email ) : |
||
string | The email. | |
Результат |
public static GetUsers ( string searchString ) : List |
||
searchString | string | |
Результат | List |
public static HashPassword ( string valueToHash ) : string | ||
valueToHash | string | The value to hash. |
Результат | string |
public static IsValid ( string userName, string password ) : bool | ||
userName | string | Name of the user. |
password | string | The password. |
Результат | bool |
public static ResetPassword ( string userName ) : string | ||
userName | string | Name of the user. |
Результат | string |
public static Save ( |
||
profile | ||
Результат |