Ant Organisation Ltd documentation | |
PermissionServer.EnsureHasPermission Method (AuthenticatedUser, PermissionableObject, Permission)
Returns if the user has permission to access a permissionable object, throws a AccessDeniedSecurityException if not
Parameters
- user
- User to check for permissions
- permissionableObject
- Object to try and access
- permission
- Permission to request from the permissionable object
Return Value
true if user can access
See Also
PermissionServer Interface | Ant.Security Namespace | PermissionServer.EnsureHasPermission Overload List