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

◆ getUserAccountAsync() [1/2]

std::future< std::string > IceGrid::UserAccountMapperPrx::getUserAccountAsync ( std::string_view user,
const Ice::Context & context = Ice::noExplicitContext ) const
nodiscard

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
A future that becomes available when the invocation completes. This future holds:
  • The user account name.