Detect User Login Across All Clients

If Vision, you can use system.util.getSessionInfo() to get a dataset that includes each active user’s username.

You can then use system.security.getRoles() to retrieve that username’s roles, and check if they have your specific values.

If Perspective, you’ll have a different path depending on what IdP you’re using and some other wrinkles.

1 Like