HasPermission(string)

public abstract bool HasPermission(string permissionKey)
Returns:
bool

Parameters

permissionKey string

HasPermission(string, string)

public abstract bool HasPermission(string permissionKey, string resourceId)
Returns:
bool

Parameters

permissionKey string
resourceId string

HasPermission(string, IEnumerable<string>)

public abstract bool HasPermission(string permissionKey, IEnumerable<string> resourceIds)
Returns:
bool

Parameters

permissionKey string
resourceIds IEnumerable<string>

HasPermission(string, ISecuredResource)

public abstract bool HasPermission(string permissionKey, ISecuredResource onResource)
Returns:
bool

Parameters

permissionKey string
onResource ISecuredResource
In this article