I'm testing out some user management scripting and upon calling system.user.editUser
I get an error in the script console:
com.inductiveautomation.ignition.client.gateway_interface.GatewayException: com.inductiveautomation.ignition.client.gateway_interface.GatewayException: You are not authorized to modify the Gateway system user source
I would expect to be able to modify the user source, since I can do so via scripts applied to components in the designer.
The same scripting function? All the system.user
functions should be going through the same code path, which is rejecting your edit to the gateway user source because the Allow User Admin setting is being read as false.
Interesting. I was able to make changes in the designer and client with the scripting functions when Allow User Admin was off, but the scripting console was rejecting the changes.
After enabling Allow User Admin, the scripting console is working too.