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

◆ createAdminSessionAsync()

virtual void IceGrid::AsyncRegistry::createAdminSessionAsync ( std::string userId,
std::string password,
std::function< void(const std::optional< AdminSessionPrx > &returnValue)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Creates an administrative session.

Parameters
userIdThe user ID.
passwordThe password for the given user.
responseThe response callback. It accepts:
  • A proxy to the newly created session. This proxy is never null.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceGrid::PermissionDeniedExceptionThrown when authentication or authorization fails.