The recommended way to do this would be to use XOG and remove the instance rights by calling the XML file cmn_users.xml and removing the instance rights there.
Here is the steps you can follow to update the information by XOG:
- Use the cmn_users_read.xml XOG file to read user information out of the application
- Modify the instance rights, remove the ones you don't need.
- Add the tag:
<InstanceRights completed="true">
- Import the file back.
- This should be possible to be automated in the GEL script by parsing parts of the script.
- Use the sample files cmn_users_read.xml and cmn_users_write.xml from $clarity\xog-unzipped\xml
- Note using SP calls in the XOG is not recommended and the above approach is best practice