NBA API based on user profile
We've a requirement where the Propositions available through NBA are dependent on the Agent Role of the the Agent requesting the NBA. There is even the possibility that an Agent is not able to request the NBA.
Our NBA is requested by an external application using the Container Rest Service (PRRestService/PegaMKTContainer/V2/Container).
Our question is if it is possible to understand user role, based on the user requesting the NBA (without logging in). And by understanding it, use that role inside the strategy to filter out the the propositions available for that role.
Or if the requestor should already send the role, and we use that input to filter out the propositions available.