IWTSProtocolConnection::GetUserData method (wtsprotocol.h)

[IWTSProtocolConnection::GetUserData is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolSettings::MergeSettings.]

Sends merged policy settings to the protocol and requests user policy settings from the protocol.

Syntax

HRESULT GetUserData(
  [in]      WTS_POLICY_DATA *pPolicyData,
  [in, out] WTS_USER_DATA   *pClientData
);

Parameters

[in] pPolicyData

A pointer to a WTS_POLICY_DATA structure that contains the merged Group Policy values.

[in, out] pClientData

A pointer to a WTS_USER_DATA structure that contains client property information.

Return value

None

Remarks

The Remote Desktop Services service merges all policy data, including listener settings, client-provided data, and Group Policy data, before calling this method.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header wtsprotocol.h

See also

IWTSProtocolConnection