Метод | Описание | |
---|---|---|
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 GetId ( this identity ) : int | ||
identity | this | |
Результат | int |
public static IsInRole ( this principal, AccountRole role ) : bool | ||
principal | this | |
role | AccountRole | |
Результат | bool |