메소드 | 설명 | |
---|---|---|
IsAndNot ( this user, string isRole, string notRole ) : bool |
Checks if a User IS in one role and NOT in another role
|
public static IsAndNot ( this user, string isRole, string notRole ) : bool | ||
user | this | IPricipal object |
isRole | string | Is in this role |
notRole | string | Not in this role |
리턴 | bool |