Method | Description | |
---|---|---|
AddUser ( |
||
ChangePassword ( string username, string oldPassword, string newPassword ) : bool | ||
DeleteUser ( int id ) : void | ||
EditUser ( |
||
GetUser ( int id ) : |
||
GetUser ( string username ) : |
||
GetUsers ( ) : IEnumerable |
||
GetValidationCode ( string username ) : string | ||
SetValidationCode ( string username, string code ) : void | ||
ValidateUser ( string username, string password ) : bool |
public AddUser ( |
||
user | ||
return | void |
public ChangePassword ( string username, string oldPassword, string newPassword ) : bool | ||
username | string | |
oldPassword | string | |
newPassword | string | |
return | bool |
public EditUser ( |
||
user | ||
return | void |
public GetUser ( int id ) : |
||
id | int | |
return |
public GetUser ( string username ) : |
||
username | string | |
return |
public GetValidationCode ( string username ) : string | ||
username | string | |
return | string |
public SetValidationCode ( string username, string code ) : void | ||
username | string | |
code | string | |
return | void |
public ValidateUser ( string username, string password ) : bool | ||
username | string | |
password | string | |
return | bool |