Méthode | Description | |
---|---|---|
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 | |
Résultat | void |
public static AssertResourceOwnerOrAdmin ( this principal, int identityId ) : void | ||
principal | this | |
identityId | int | |
Résultat | void |
public static GetId ( this identity ) : int | ||
identity | this | |
Résultat | int |
public static IsInRole ( this principal, AccountRole role ) : bool | ||
principal | this | |
role | AccountRole | |
Résultat | bool |