Class PermissionSection
- Namespace
- Dynamicweb.Security.Permissions
- Assembly
- Dynamicweb.Core.dll
Permission section.
[PermissionEntity("Section")]
public sealed class PermissionSection : IPermissionEntity
- Inheritance
-
PermissionSection
- Implements
- Inherited Members
- Extension Methods
Constructors
PermissionSection(string)
Instantiates a permission section with a specified permission key.
public PermissionSection(string permissionKey)
Parameters
permissionKey
stringPermission key
Methods
GetPermissionKey()
Gets the unique key for this permission entity.
public string GetPermissionKey()
Returns
- string
Permission key
GetPermissionName()
public string GetPermissionName()
Returns
GetPermissionParents()
Gets the parents of this permission entity, for the purposes of inherited permissions.
public IEnumerable<IPermissionEntity> GetPermissionParents()
Returns
- IEnumerable<IPermissionEntity>
A sequence of direct parents to this entity