|
Ice 3.7 Slice API Reference
|
The Glacier2 permissions verifier. More...
defined in <Glacier2/PermissionsVerifier.ice>
interface PermissionsVerifier { ... }
Operations | |
| idempotent bool | checkPermissions (string userId, string password, out string reason) throws PermissionDeniedException |
| Check whether a user has permission to access the router. More... | |
The Glacier2 permissions verifier.
This is called through the process of establishing a session.
| idempotent bool checkPermissions | ( | string | userId, |
| string | password, | ||
| out string | reason | ||
| ) | throws PermissionDeniedException |
Check whether a user has permission to access the router.
| userId | The user id for which to check permission. |
| password | The user's password. |
| reason | The reason why access was denied. |
| PermissionDeniedException | Raised if the user access is denied. This can be raised in place of returning false with a reason set in the reason out parameter. |