Method | Description | |
---|---|---|
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 ( |
Method | Description | |
---|---|---|
CreateHash ( string valueToHash, string key ) : string |
Creates the hash.
|
public static Exists ( string userName ) : bool | ||
userName | string | Name of the user. |
return | bool |
public static GetUser ( string email ) : |
||
string | The email. | |
return |
public static GetUsers ( string searchString ) : List |
||
searchString | string | |
return | List |
public static HashPassword ( string valueToHash ) : string | ||
valueToHash | string | The value to hash. |
return | string |
public static IsValid ( string userName, string password ) : bool | ||
userName | string | Name of the user. |
password | string | The password. |
return | bool |
public static ResetPassword ( string userName ) : string | ||
userName | string | Name of the user. |
return | string |
public static Save ( |
||
profile | ||
return |