Method | Description | |
---|---|---|
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. |
return | bool |
public SecurityPrincipal ( |
||
identity | An |
|
return | System |