Verify that the specific access levels are set for the current user.

Namespace:  EPiServer.Security
Assembly:  EPiServer (in EPiServer.dll) Version: 6.0.530.0

Syntax

C#
public bool QueryDistinctAccess(
	AccessLevel access
)

Parameters

access
Type: EPiServer.Security..::.AccessLevel
The requested access level

Return Value

True if the combined access level of all entries that apply to the current user in this ACL has at least the requested access level

Remarks

This is the fastet way to query for access, and is thus the preferred mechanism.

See Also