Provides high level Access Control List for a request.
More...
Provides high level Access Control List for a request.
◆ HasPermission() [1/2]
bool HasPermission |
( |
IFile |
file, |
|
|
Permission |
permission |
|
) |
| |
Checks if permission if available.
- Parameters
-
file | A file for which folder will be checked. |
permission | A required permission mask. |
- Returns
- True if permission is available, false otherwise.
◆ HasPermission() [2/2]
bool HasPermission |
( |
IFolder |
folder, |
|
|
Permission |
permission |
|
) |
| |
Checks if permission if available.
- Parameters
-
folder | A folder to check. |
permission | A required permission mask. |
- Returns
- True if permission is available, false otherwise.
◆ RequirePermission() [1/2]
void RequirePermission |
( |
IFile |
file, |
|
|
Permission |
permission |
|
) |
| |
Throws PermissionRequiredException if permission is missing.
- Parameters
-
file | A file for which folder will be checked. |
permission | A required permission mask. |
◆ RequirePermission() [2/2]
void RequirePermission |
( |
IFolder |
folder, |
|
|
Permission |
permission |
|
) |
| |
Throws PermissionRequiredException if permission is missing.
- Parameters
-
folder | A folder to check. |
permission | A required permission mask. |
The documentation for this interface was generated from the following file: