| bool Glacier2::PermissionsVerifierPrx::checkPermissions | ( | std::string_view | userId, |
| std::string_view | password, | ||
| std::string & | reason, | ||
| const Ice::Context & | context = Ice::noExplicitContext ) const |
Checks if a user is authorized to establish a session.
| userId | The user ID. | |
| password | The user's password. | |
| [out] | reason | The reason why access was denied. |
| context | The request context. |
| Glacier2::PermissionDeniedException | Thrown when the user's access is denied. This exception can be thrown instead of returning false with a reason set in the reason out parameter. |