Table of Contents

Class PermissionAncestorContext

Namespace
Dynamicweb.Security.Permissions
Assembly
Dynamicweb.Security.dll
public class PermissionAncestorContext : IDisposable
Inheritance
PermissionAncestorContext
Implements
Inherited Members

Constructors

PermissionAncestorContext(IPermissionControlled)

public PermissionAncestorContext(IPermissionControlled currentParent)

Parameters

currentParent IPermissionControlled

Properties

Current

Gets the current permission context.
public static IPermissionControlled Current { get; }

Property Value

IPermissionControlled
permissionContext

Stack

protected static Stack<IPermissionControlled> Stack { get; }

Property Value

Stack<IPermissionControlled>

Methods

AddContext(IPermissionControlled)

protected void AddContext(IPermissionControlled currentParent)

Parameters

currentParent IPermissionControlled

Dispose()

Performs application-defined tasks associated with freeing, releasing or resetting unmanaged resources.
public void Dispose()

Dispose(bool)

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

GetAncestors()

public static IEnumerable<IPermissionControlled> GetAncestors()

Returns

IEnumerable<IPermissionControlled>
To top