Class PermissionService
Service to query if a principal is assigned a specific permission
Inheritance
System.Object
PermissionService
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public abstract class PermissionService : Object
Constructors
PermissionService()
Declaration
protected PermissionService()
Methods
IsPermitted(IPrincipal, PermissionType)
Determines whether the specified principal has this permission.
Declaration
public abstract bool IsPermitted(IPrincipal principal, PermissionType type)
Parameters
Type | Name | Description |
---|---|---|
System. |
principal | The principal |
Permission |
type | The permission type |
Returns
Type | Description |
---|---|
System. |
|