Open sandboxFocus

Method RequireAccess

RequireAccess(ObjectAccessLevel)

Determines whether the current thread has a specified level of access to the entity and throws an exception if not.

Declaration
void RequireAccess(ObjectAccessLevel objectAccessLevel)
Parameters
Type Name Description
ObjectAccessLevel objectAccessLevel

The required access level on the entity.