Interface IPermissionEntity
- Namespace
- Dynamicweb.Security.Permissions
- Assembly
- Dynamicweb.Core.dll
A permission entity can be used with the permission framework to get the PermissionLevel for a given user.
public interface IPermissionEntity
- Extension Methods
Methods
GetPermissionKey()
Gets the unique key for this permission entity.
string GetPermissionKey()
Returns
- string
Permission key
GetPermissionParents()
Gets the parents of this permission entity, for the purposes of inherited permissions.
IEnumerable<IPermissionEntity> GetPermissionParents()
Returns
- IEnumerable<IPermissionEntity>
A sequence of direct parents to this entity