Security service: managing privileges
Access path: PublicAPI.Services.SecurityServicesMethods
Name | Description | |
---|---|---|
CanCheckPermission |
Check possibility to request object permission
| |
GetUsersByPermissions | ||
HasPermission(Permission) |
Check that the current user has the permission
| |
HasPermission(User, Permission) |
Check that the user has the permission
| |
HasPermission(Permission, Object, Boolean) |
Check, that the user has an object instance permission
E.g. authorized to "edit document" or "close task".
| |
HasPermission(User, Permission, Object, Boolean) |
Check, that the user has an object instance permission
E.g. authorized to "edit document" or "close task".
| |
RunBySystemUser |
Run a code by the system user with elevated permissions.
Inside the authorization as the system user is performed and the RunWithElevatedPrivilegies method is invoked.
| |
RunByUser |
Run as the user
| |
RunWithElevatedPrivilegies |
Run a code with elevated permissions.
Should be used for loading data from Database without filtering by permissions (методы IEntityManager.Load и IEntityManager.Find).
| |
RunWithElevatedPrivilegiesAndWithDeleted |
Run without filtering by permissions and deleting
| |
RunWithUsualPrivilegies |
Run with standard permissions
|
See Also