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

◆ getUserAccount()

std::string IceGrid::UserAccountMapperPrx::getUserAccount ( std::string_view user,
const Ice::Context & context = Ice::noExplicitContext ) const

Gets the name of the user account for the given user.

This is used by IceGrid nodes to figure out the user account to use to run servers.

Parameters
userThe value of the server descriptor's user attribute. When this attribute is not defined, and the server's activation mode is session, the default value for user is the session identifier.
contextThe request context.
Returns
The user account name.
Exceptions
IceGrid::UserAccountNotFoundExceptionThrown when no user account is found for the given user.