WTSSetUserConfig(ServerName, UserName, ConfigClass)
Changes user configuration
ConfigClass | Type of data required |
WTSUserConfigInitialProgram | Unicode string, program to be run when user logs on |
WTSUserConfigWorkingDirectory | Unicode string, working dir for initial program |
WTSUserConfigModemCallbackPhoneNumber | Unicode string |
WTSUserConfigTerminalServerProfilePath | Unicode string |
WTSUserConfigTerminalServerHomeDir | Unicode string |
WTSUserConfigTerminalServerHomeDirDrive | Unicode string |
WTSUserConfigfInheritInitialProgram | Int |
WTSUserConfigfAllowLogonTerminalServer | Int, 1 if user can log on thru Terminal Service |
WTSUserConfigTimeoutSettingsConnections | Int, max connection time (ms) |
WTSUserConfigTimeoutSettingsDisconnections | Int |
WTSUserConfigTimeoutSettingsIdle | Int, max idle time (ms) |
WTSUserConfigfDeviceClientDrives | Int |
WTSUserConfigfDeviceClientPrinters | Int |
WTSUserConfigfDeviceClientDefaultPrinter | Int |
WTSUserConfigBrokenTimeoutSettings | Int |
WTSUserConfigReconnectSettings | Int |
WTSUserConfigModemCallbackSettings | Int |
WTSUserConfigShadowingSettings | Int, indicates if user's session my be monitored |
WTSUserConfigfTerminalServerRemoteHomeDir | Int, |