std::optional< AdminSessionPrx > IceGrid::RegistryPrx::createAdminSession | ( | std::string_view | userId, |
std::string_view | password, | ||
const Ice::Context & | context = Ice::noExplicitContext ) const |
Creates an administrative session.
userId | The user ID. |
password | The password for the given user. |
context | The request context. |
IceGrid::PermissionDeniedException | Thrown when authentication or authorization fails. |