Метод | Описание | |
---|---|---|
BusinessPrincipal ( ) : System | ||
GetCurrentIdentity ( ) : |
||
GetCurrentPrincipal ( ) : |
||
IsInRole ( string role ) : bool | ||
LoadPrincipal ( string username ) : void | ||
Login ( string username, string password ) : bool | ||
Logout ( ) : void |
Метод | Описание | |
---|---|---|
BusinessPrincipal ( IIdentity identity ) : System | ||
SetPrincipal ( |
public static GetCurrentIdentity ( ) : |
||
Результат |
public static GetCurrentPrincipal ( ) : |
||
Результат |
public static LoadPrincipal ( string username ) : void | ||
username | string | |
Результат | void |
public static Login ( string username, string password ) : bool | ||
username | string | |
password | string | |
Результат | bool |