IADsTSUserEx::get_TerminalServicesWorkDirectory method

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

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header tsuserex.h (include Tsuserex.h, Tsuserex_i.c)
DLL Tsuserex.dll

See Also

IADsTSUserEx