BPMGroupMembershipUpdateTask command
Use the BPMGroupMembershipUpdateTask command to update the group membership for the users that you specify on the command line.
This command updates the group membership for the users that you specify on the command line. If you pass a user ID that is not known to IBM® BPM, the user ID is synchronized from the WebSphere® Application Server user registry into the IBM BPM database.
After using the command, save your changes to the
master configuration using one of the following commands:
- For Jython:
AdminConfig.save()
- For Jacl:
$AdminConfig save
Prerequisites
The following conditions must be met:
Location
Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.
Syntax
Required parameters
- -userIds user_ID_1 user_ID_2
- A parameter that specifies the list of user IDs to be processed.
Examples
The following example uses the BPMGroupMembershipUpdateTask command to update users user_ID_1, user_ID_2, and user_ID_3.
- Jython example:
AdminTask.BPMGroupMembershipUpdateTask('[-userIds user_ID_1 user_ID_2 user_ID_3 ]')
- Jacl example:
$AdminTask BPMGroupMembershipUpdateTask {-userIds user_ID_1 user_ID_2 user_ID_3 }