Presto Administration : Presto Server Administration : Deploying Presto Instances, Clusters or Artifacts : Importing Users, User Metadata and Groups
Importing Users, User Metadata and Groups
you must have a users export file to import. See Exporting Users, User Metadata and Groups for instructions.
Note:  
This command is available only in Presto 3.2 or later.
A user export file contains Presto User Attributes. It may also contain users, user groups and user group assignments if you are using the default Presto User Repository rather than an LDAP Directory.
Important:  
If you import users, you need to notify all the users included in the import that their password in the target Presto Server has been changed to welcome.
1. If it is not started, start the Presto Server for the Presto Repository where you wish to import data. See Start and Stop the Presto Server for instructions.
2. Open a command window and move to the presto-install/prestocli/bin folder.
3. Enter this command:

padmin importUsersRoles -f input-file [-l prestoURL]
-u username -w password [-c] [-o] [-v]
*-f input-file: is the path and name of the export file to import data from.
*-l prestoUrl: is optional. Use this if the Presto Server is remote or is not running in Tomcat on the default Tomcat port. If you omit this option, this defaults to http://localhost:8080/presto/edge/api.
*-u username: is the Presto username to log in with. This account must have Presto administrator permissions.
*-p password: is the Presto password to log in with.
*-c: is an optional flag to allow the import process to continue if errors occur during the import. By default, any import errors stop all further processing.
*-o: is an optional flag to allow import information for a Presto global attribute to overwrite an existing user, group, user group assignments or Presto User Attribute with the same ID.
*-v: is an optional flag to turn on verbose logging.
Messages and errors from the import process are sent to the console window (stdout).Once the import is successfully finished, you may confirm that the appropriate data has been imported in Presto Hub.
Copyright © 2013-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback