Skip to content

How we can identify wheather an agent Login or a Supervisor

0

Hi Team amazon, I have a query that how we can identify wheather an agent login or a supervisor using amazon connect streams. I made a POC using AWS SDK where i use two API "DescribeUserCommand" and "DescribeSecurityProfileCommand". But i want to check from amazon connect streams. If its possible through amazon connect streams please let me know.

1 Answer
0

From a CCP perspective, supervisors are also considered agents, and there is no specific differentiation between those two. However, some possible ways are:

  1. You can pre-define a list of the supervisors using a username or ARN and then compare the logged-in user's name or ARN to that list via agent.getAgentARN() or agent.getConfiguration().username
  2. Put the supervisors in a different routing profile and then check if the logged-in agent is using the logged-in routing profile via agent.getRoutingProfile()

Agent API: https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md#agent-api

AWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.