Check for a distinct required access level. This is preferred to use over
QueryAccess()()() for performance reasons.
Namespace:
EPiServer.CoreAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
public bool QueryDistinctAccess( AccessLevel requestedLevel ) |
Parameters
- requestedLevel
- Type: EPiServer.Security..::.AccessLevel
Return Value
true if at least the requested access is held by the current user
Remarks
This method is optimized for speed, by checking preconditions before calling expensive methods.