Table of Contents

Class PermissionControlledObject

Namespace
Dynamicweb.Security.Permissions
Assembly
Dynamicweb.Security.dll
A permission controlled object can be used with the permission framework to get the PermissionLevel for a given user on this object.
public class PermissionControlledObject : IPermissionControlled
Inheritance
PermissionControlledObject
Implements
Inherited Members
Extension Methods

Constructors

PermissionControlledObject(string, string)

Instantiates a permission controlled object.
public PermissionControlledObject(string key, string name)

Parameters

key string
The permission object identifier
name string
Type of permission object

PermissionControlledObject(string, string, IPermissionControlled)

Instantiates a permission controlled object.
public PermissionControlledObject(string key, string name, IPermissionControlled parent)

Parameters

key string
The permission object identifier
name string
Type of permission object
parent IPermissionControlled
The parent

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.
To top