Ant Organisation Ltd documentation

PermissionServer.EnsureHasPermission Method (AuthenticatedUser, Acl, UserMap)

Returns if the user has permission to access the ACL, throws a AccessDeniedSecurityException if not

void EnsureHasPermission(
   AuthenticatedUser user,
   Acl acl,
   UserMap map
);

Parameters

user
User to check for permissions
acl
ACL to test
map
Map of users to roles

Return Value

true if user can access

See Also

PermissionServer Interface | Ant.Security Namespace | PermissionServer.EnsureHasPermission Overload List