Software AG Products 10.7 | Using CentraSite | Introduction | Using the CentraSite Business User Interface | User Preferences Management | Managing User Preferences through Command Line Interface | Modifying User Preference Settings
 
Modifying User Preference Settings
Pre-requisites:
To update your user preference settings through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named set preferences for this purpose.
*To modify user preference settings
*Run the command set preferences.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set preferences -user <USER-ID> -password <PASSWORD> [-url <CENTRASITE-URL>] -targetUser <TARGET-USER> -file <CONFIG-FILE>
The input parameters are:
Parameter
Description
CENTRASITE-URL
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
USER-ID
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
PASSWORD
The password for the CentraSite user identified by the parameter USER-ID.
TARGET-USER
The user ID of a registered CentraSite user whose preference settings you want to update.
CONFIG-FILE
Name of the configuration file which contains the default user preference settings.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set preferences -user Administrator -password manage -url http://localhost:53307/CentraSite/CentraSite -targetUser LDAPDomain\Claire -file c:\temp\UserProfileConfig.xml
The response to this command could be:
Executing the command : set preferences

Successfully executed the command : set preferences