Méthode | Description | |
---|---|---|
IsAdmin ( ) : bool |
Determines whether this instance is admin.
|
|
IsInRole ( string role ) : bool |
Determines whether [is user in role] [the specified role].
|
public IsInRole ( string role ) : bool | ||
role | string | The role. |
Résultat | bool |