It is not possible to change a user's privilege set by script. As a result, the account needs to be deleted and recreated across all files of the solution, something that generates a lot of friction because creating the account requires to set a password.
It should be possible to change a user's privilege by script without having to delete the account altogether.
The script step would be subject to the following:
- You must be assigned the privilege set to perform this script step. To enable users with less than full access privileges to perform this script step, right-click the current script in the script pane and choose Grant Full Access Privileges.
- changing from or to [Full Access] should not be possible by script step