Method CheckPermission
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
CheckPermission(Permissions)
Checks whether this role has specific permissions.
public PermissionLevel CheckPermission(Permissions permission)
Parameters
permission
PermissionsPermissions to check for.
Returns
- PermissionLevel
Whether the permissions are allowed or not.