|
binary RspAdUaRelation::MakeupContextForResponse |
( |
wstring |
wstrUaHostId, |
|
|
wstring |
wstrAdDomain |
|
) |
| |
Create context to execute XDRO responses.
Creates context for the given host to execute XDRO responses by its means
- Parameters:
-
wstrUaHostId | GUID host name of the UA or empty string for Administration Server's Network Agent |
wstrAdDomain | Active Directory domain name in lowercase FQDN format, e.g. "mycompany.com" |
- Returns:
- The context to put into the XDRO response while executing it by means of the specified host wstrUaHostId. Returned context is bound to the specified host wstrUaHostId, don't try to re-use it with some another host.
- Note:
- if wstrUaHostId is empty then current session must target the physical server otherwise exception STDE_NOTPERM is thrown.
- Exceptions:
-
STDE_NOTPERM | Operation is prohibited (e.g. wstrUaHostId does not have UA role, or an attempt to access physical server in context of virtual one, or this feature is disabled) |
- See also:
-
|