IADsTSUserEx::put_TerminalServicesHomeDirectory method (tsuserex.h)
The root directory for the user. Each user on a Remote Desktop Session Host (RD Session Host) server has a unique root directory. This ensures that application information is stored separately for each user in a multiuser environment.
This property is read/write.
Syntax
HRESULT put_TerminalServicesHomeDirectory(
BSTR pNewVal
);
Parameters
pNewVal
Return value
None
Remarks
To set a root directory on the local computer, specify a local path; for example, C:\Path. To set a root directory in a network environment, you must first set the TerminalServicesHomeDrive property, and then set this property to a UNC path.
Examples
For an example, see TerminalServicesHomeDrive.
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 |