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.188 -- Release Build+7e33006aa725ddd25cd2ecda3cef9fd5aea3821b
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