Access Control command line¶
You can perform Access Control group management tasks from the command line, using a .csv spreadsheet approach like the aPriori BOM Loader and Bulk Costing functionality.
Managing groups using Access Control from the command line¶
This feature supports the following actions:
- ADD: Create one or more new groups, specifying the parent group path, group type, user defined attributes, and/or associated permissions.
- REMOVE: Delete one or more existing groups.
- MODIFY: Update one or more groups, specifying a new name, changed attributes, and/or changed associated permissions.
The command to run this functionality is:
When the command completes, group membership is recalculated to reflect the changes.
Group load command syntax¶
where:
<importFilePath> is the full path to the import spreadsheet file
<userName> is the aPriori user account under which the changes will be made.
<userPassword> is the password for the aPriori user.
- When an aPriori account password is passed as an input argument to a command line utility, as a best practice, wrap the password in double quotes.
<userName>and<userPassword>are optional if Single Sign On is enabled. The group loader will try to log in using the current Windows user login if they are omitted. Note that the user should be a member of the Super Users group.