The GetUserConfiguration method retrieves a complete list of
Terminal Services-related user settings for the specified user from
Active Directory or from the specified terminal server. The
settings returned are as follows:
The user name (SAM account name) for which Terminal Services
configuration settings are to be retrieved.
Name of the domain controller or terminal server from which
settings are to be retrieved. If a domain controller is specified,
settings for a domain user are retrieved from Active Directory via
the specified DC. If a terminal server is specified, settings for a
local user on that server are retrieved.
In some configurations an error will occur if this parameter is
specified as a fully-qualified name. Use the NetBIOS name instead
to avoid the issue.
The configuration data (names listed above) is returned as
child <property> elements within an element called