AccessControlListBuilderTIdentity, TResourceAllow Method

Adds an allow rule to the access control list.

Definition

Namespace: Gemstone.Security.AccessControl
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.172 -- Release Build+e1d54149784e85c054df1142e76e10e30c46c26f
public IAccessControlListBuilder<TIdentity, TResource> Allow(
	Func<TIdentity, IEnumerable<TResource>> allowedResourcesFunc
)

Parameters

allowedResourcesFunc  FuncTIdentity, IEnumerableTResource
Function that returns the list of resources to be allowed.

Return Value

IAccessControlListBuilderTIdentity, TResource
The builder, for chaining.

Implements

IAccessControlListBuilderTIdentity, TResourceAllow(FuncTIdentity, IEnumerableTResource)

See Also