pw user import
The pw user import command imports user information into the BMC ProactiveNet Server. All users present in the XML file are created on the BMC ProactiveNet Server if not already present. If you are not using the -importugr option, the role for the imported users is set to Read Only. If corresponding roles and user groups already exist, imported users are mapped to the existing roles and user groups. If the Read Only role does not exist, it will be created and all imported users without a role will be assigned this role. If you use the -importugr option, all the roles and user groups that do not exist are created, and imported users are mapped to them accordingly.
The following command imports all the new users in the userdata.xml file to the BMC ProactiveNet Server on UNIX.
Use this command to import all the new roles and user groups along with user information to the BMC ProactiveNet Server.
- -file <filename> — Name of the XML file where the user information is stored.
- -importugr — Imports user group and roles information along with the list of users.