IADsTSUserEx::get_TerminalServicesWorkDirectory method (tsuserex.h)

The working directory path for the user.

This property is read/write.

Syntax

HRESULT get_TerminalServicesWorkDirectory(
  BSTR *pVal
);

Parameters

pVal

Return value

None

Remarks

To set an initial application to start when the user logs on to the Remote Desktop Session Host (RD Session Host) server, you must first set the TerminalServicesInitialProgram property, and then set this property.

Examples

For an example, see TerminalServicesInitialProgram.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header tsuserex.h (include Tsuserex.h, Tsuserex_i.c)
DLL Tsuserex.dll

See also

IADsTSUserEx