Open sandboxFocus

Method CheckAccess

CheckAccess(ObjectAccessLevel)

Determines whether the current thread has a specified level of access to the entity.

Declaration
bool CheckAccess(ObjectAccessLevel objectAccessLevel)
Parameters
Type Name Description
ObjectAccessLevel objectAccessLevel

The required access level on the entity.

Returns
Type Description
bool

true if the current thread has the required level of access, otherwise false.