메소드 | 설명 | |
---|---|---|
AssertResourceOwner ( this principal, int identityId ) : void | ||
AssertResourceOwnerOrAdmin ( this principal, int identityId ) : void | ||
GetId ( this identity ) : int | ||
IsInRole ( this principal, AccountRole role ) : bool |
public static AssertResourceOwner ( this principal, int identityId ) : void | ||
principal | this | |
identityId | int | |
리턴 | void |
public static AssertResourceOwnerOrAdmin ( this principal, int identityId ) : void | ||
principal | this | |
identityId | int | |
리턴 | void |
public static IsInRole ( this principal, AccountRole role ) : bool | ||
principal | this | |
role | AccountRole | |
리턴 | bool |