IADsTSUserEx::TerminalServicesWorkDirectory property
Applies to: desktop apps only
The working directory path for the user.
This property is read/write.
Syntax
HRESULT put_TerminalServicesWorkDirectory( [in] BSTR pNewVal ); HRESULT get_TerminalServicesWorkDirectory( [out] BSTR *pVal );
Property value
The working directory path.
Error codes
These methods support the standard return values, including S_OK. For more information, see ADSI Error Codes.
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
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
Type library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 3/7/2012