Ice 3.8
Slice API Reference
Loading...
Searching...
No Matches
UserAccountMapper.ice
1// Copyright (c) ZeroC, Inc.
2
3#pragma once
4
5[["cpp:dll-export:ICEGRID_API"]]
6[["cpp:doxygen:include:IceGrid/IceGrid.h"]]
7[["cpp:header-ext:h"]]
8
9[["cpp:include:IceGrid/Config.h"]]
10
11[["js:module:@zeroc/ice"]]
12
13["java:identifier:com.zeroc.IceGrid"]
14module IceGrid
15{
16 /// The exception that is thrown when a user account for a given session identifier can't be found.
18 {
19 }
20
21 /// Maps user strings in server descriptors to actual user account names. You can configure the user account mapper
22 /// of an IceGrid node with the property `IceGrid.Node.UserAccountMapper`.
24 {
25 /// Gets the name of the user account for the given user. This is used by IceGrid nodes to figure out the user
26 /// account to use to run servers.
27 /// @param user The value of the server descriptor's `user` attribute. When this attribute is not defined, and
28 /// the server's activation mode is `session`, the default value for `user` is the session identifier.
29 /// @return The user account name.
30 /// @throws UserAccountNotFoundException Thrown when no user account is found for the given user.
31 string getUserAccount(string user)
33 }
34}
The exception that is thrown when a user account for a given session identifier can't be found.
string getUserAccount(string user)
Gets the name of the user account for the given user.
Maps user strings in server descriptors to actual user account names.
Deploy and manage Ice servers.
Definition Admin.ice:21