Apply role to user through scripting
complete
R
Ryan Crownover
Currently, system.user.addRole exists and allows the creation of a role through scripting. The functionality missing is the ability to apply a role to a user through scripting.
This would provide significant advantages in automating projects as well as make the system.user.addRole function truly usable, as I'd imagine the number of scenarios where you would automatically create a role and then manually apply a role to any users that need it are very few.
Kathy A.
complete
Added in 8.0.3
Kathy A.
In Ignition 8.0.3 we've added several new user scripting functions: system.user.addUser, system.user.editUser, system.user.removeUser, system.user.getNewUser, and system.user.createScheduleAdjustment that will allow you to change user info including roles.