Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ createAdminSession()

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.

Parameters
userIdThe user ID.
passwordThe password for the given user.
contextThe request context.
Returns
A proxy to the newly created session. This proxy is never null.
Exceptions
IceGrid::PermissionDeniedExceptionThrown when authentication or authorization fails.