Documentation for Ice 3.5. The latest release is Ice 3.7. Refer to the space directory for other releases.


Glacier2::PermissionsVerifier

Overview

interface PermissionsVerifier

The Glacier2 permissions verifier. This is called through the process of establishing a session.

See Also

Operation Index

checkPermissions — Check whether a user has permission to access the router.

Operations

[ "nonmutating", "format:sliced" ] bool checkPermissions(string userId, string password, out string reason) throws Glacier2::PermissionDeniedException

Check whether a user has permission to access the router.

Parameters

userId — The user id for which to check permission.
password — The user's password.
reason — The reason why access was denied.

Return Value

True if access is granted, or false otherwise.

Exceptions

Glacier2::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.


  • No labels