Permissions.TestPermissions Function (Authorit.API.Dto.Permission, Authorit.API.Dto.Permission) - Author-it On-Premises - Author-it

Author-it Development Documentation

Test supplied permissions are sufficient against another set of supplied permissions.

Namespace: Authorit.API.Services

Parameters

permissions - Permissions that are tested against (must be met).

testPermissions - Permissions to test.

Returns

true if permissions are sufficient, false otherwise.