Permissions.TestPermissions Function (Authorit.API.Dto.Permission, Authorit.API.Dto.Permission) - Cloud - 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.