Identity Management (MOSC)

MOSC Banner

Get User Roles using OIG REST APIs

edited Jun 18, 2019 5:05AM in Identity Management (MOSC) 7 commentsAnswered

Hi,

In the OIG REST APIs documentation it is mentioned that we can get a list of their assigned roles via the URI /roles GET filtered via the user IDs and a check for what is provisioned for the users. The URI /roles with the GET operation and filtered for the userid returns nothing, while the user already have 5 roles.

The Authorization header contain the credentials of a User Admin account, same account is used to read user data using the /user end point.

The question is, what is the right way to get the roles assigned to a user.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center