AdminId.HasFlag Method

Returns whether or not a flag is enabled on an admin.

bool HasFlag(AdminFlag flag, AdmAccessMode mode)

Parameters

AdminFlag flag

Admin flag to use.

AdmAccessMode mode

Access mode to check.

Return Value

True if enabled, false otherwise.