Description Syntax Examples manageUserMessagingPrefs

5 User Messaging Service UMS Custom WLST Commands 5-1 5 User Messaging Service UMS Custom WLST Commands Use the User Messaging Service commands, listed in Table 5–1 , to download user messaging preferences from your backend database.

5.1 UMS WLST Command Group

The UMS WLST commands are listed under the command group ums.

5.1.1 manageUserMessagingPrefs

Command Category: UMS Use with WLST: Offline

5.1.1.1 Description

manageUserMessagingPrefs is used to download the user messaging preferences from a backend database to the specified xml file, or to upload the user messaging preferences from an XML file into the backend database.

5.1.1.2 Syntax

manageUserMessagingPrefs operation=, filename, url, username, password, [encoding], [guid], [merge] Note: To use these commands, you must invoke WLST from the Oracle home in which the component has been installed. See Using Custom WLST Commands in the Oracle Fusion Middleware Administrators Guide. Table 5–1 User Messaging Service for WLST Configuration Command category Description Section 5.1, UMS WLST Command Group Manage Oracle Unified Messaging Service commands. Argument Definition operation specifies the upload or download operation to be performed. 5-2 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

5.1.1.3 Examples

To download the user messaging preferences of all users to the specified file. wls:offline manageUserMessagingPrefsoperation=download, filename=download.xml, url=t3:localhost:8001, username=weblogic, password=password To download the user messaging preferences of all users to the specified file using UTF-8 character encoding. wls:offline manageUserMessagingPrefsoperation=download, filename=download.xml, url=t3:localhost:8001, username=weblogic, password=password, encoding=UTF-8 To download the user messaging preferences of the user with guid john.doe to the specified file. wls:offline manageUserMessagingPrefsoperation=download, filename=download.xml, url=t3:localhost:8001, username=weblogic, password=password, guid=john.doe To download the user messaging preferences of the users with guid john.doe and jane.doe to the specified file using UTF-8 character encoding. wls:offline manageUserMessagingPrefsoperation=download, filename=download.xml, url=t3:localhost:8001, username=weblogic, password=password, guid=john.doe,jane.doe, encoding=UTF-8 To upload the user messaging preferences from the specified file to the backend database. wls:offline manageUserMessagingPrefsoperation=upload, filename=upload.xml, url=t3:localhost:8001, username=weblogic, password=password filename For download, a unique file name path to download the user preferences to. For example, tmpdownload.xml Linux or C:\\temp\\download.xml Windows. For upload, the file name path from which to upload the user preferences. url The JNDI URL to access the User Messaging Server. For example: t3:hostname:port username The username with login permission to access the User Messaging Server. password The password of the username. encoding Character encoding to use to download the user preferences. guid The globally unique identifier guid of a list of users to use to download their preferences. If no guid is specified, the preferences for all users are downloaded. merge This option is for upload only. Valid values are: create_new default: Create new user device, device addresses andor ruleset entities. An exception will be thrown if an entity with the same primary key already exists and processing will terminate. overwrite: Remove all existing entities of a user and then create new entities. append: Only upload entities that do not already exist. Argument Definition User Messaging Service UMS Custom WLST Commands 5-3 To upload the user messaging preferences from the specified file to the backend database and overwrite existing preferences. wls:offline manageUserMessagingPrefsoperation=upload, filename=upload.xml, url=t3:localhost:8001, username=weblogic, password=password, merge=overwrite

5.1.2 deployUserMessagingDriver