AccessControlListBuilderTIdentity, TResourceDenyAllExcept Method

Adds a deny rule to the access control list.

Definition

Namespace: Gemstone.Security.AccessControl
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.182 -- Release Build+7f315b13e9b83bd74bc0f8c1a135608116d0e39d
public IAccessControlListBuilder<TIdentity, TResource> DenyAllExcept(
	Func<TIdentity, IEnumerable<TResource>> deniedResourcesFunc
)

Parameters

deniedResourcesFunc  FuncTIdentity, IEnumerableTResource
Function that returns the list of resources that are not included in the rule.

Return Value

IAccessControlListBuilderTIdentity, TResource
The builder, for chaining.

Implements

IAccessControlListBuilderTIdentity, TResourceDenyAllExcept(FuncTIdentity, IEnumerableTResource)

See Also