Метод | Описание | |
---|---|---|
IsInRole ( string roles ) : bool |
Determines whether the user is a member of either of the specified roles.
|
|
SecurityPrincipal ( |
Initializes a new instance of the SecurityPrincipal class.
|
public IsInRole ( string roles ) : bool | ||
roles | string | Comma separated list of roles to check. |
Результат | bool |
public SecurityPrincipal ( |
||
identity | An |
|
Результат | System |