Can anyone explain this questions?

I am getting confusion regarding the usage of getRole() method in ignition. This question makes me think why can’t we use this getRole() in all the scripting locations inside the ignition to enhance the security.

Multiple answer type question

scope is vision. so doesnt work in gateway.
Its a function to get the roles of a user. The gateway does not know which user you would be looking at.

Thank you for response! Does it mean the options are
C) Gateway Timer script
D) Gateway Tag change script ?

everything but not those 2 xd

1 Like

It’s really great @victordcq Thank you!

Had a good learning from this question!

1 Like

Good luck learning the rest of Ignition!