Class VirtualPermissionNode
- Namespace
- Dynamicweb.Security.Permissions
- Assembly
- Dynamicweb.Security.dll
This class allows for insertion of virtual permission nodes into logical hierarchies. Ei. can be used to insert a virtual page root into the content tree.
public class VirtualPermissionNode : IPermissionControlled
- Inheritance
-
VirtualPermissionNode
- Implements
- Inherited Members
- Extension Methods
Constructors
VirtualPermissionNode()
Used for lookup
public VirtualPermissionNode()
VirtualPermissionNode(string, IPermissionControlled)
Configures a virtual permission node with the specified type (name) and placement in the permission hierarchy (parent).
public VirtualPermissionNode(string name, IPermissionControlled parent)
Parameters
name
string- Type of virtual permission node
parent
IPermissionControlled- Placement of virtual node in hierarchy
Fields
PermissionSubName
public const string PermissionSubName = "VirtualNode"
Field Value
Methods
GetParent()
Gets the parent of this object, for the purposes of inherited permissions.
public IPermissionControlled GetParent()
Returns
- IPermissionControlled
- parent
Remarks
Return null, if no parent permissions exist
GetPermissionIdentifier()
Combination of values that form a unique identifier.
public UnifiedPermissionIdentifier GetPermissionIdentifier()
Returns
- UnifiedPermissionIdentifier
- Unique identifier.