Hey all, is there any built in scripting functions that get all possible user roles a user can have? I know there are a couple that exist to get the roles assigned to a currently signed in user, or one that can retrieve the roles of a user provided a username and password.
Check this out: https://docs.inductiveautomation.com/display/DOC80/system.user.getRoles
You provide the user source and it’ll return the available roles.
Can’t believe I glanced over this! Thank you!