0
votes

Is there a way to retrieve a full list of Active Directory groups using the OneLogin API? the /roles and /groups API calls do not return a full list.

When retrieving User details, there is an array for "member_of" that contains the full list of Active Directory groups a specific User is a part of, however, I do not see a way to bring back the full list of Active Directory groups that are available overall.

Thx!

1
Welcome to Stack Overflow. Please post the relevant code so that it's easier for people to help you:) - Tushar

1 Answers

0
votes

Because AD can contain literally thousands of groups, OneLogin doesn't compile an internal list of these groups for surfacing via the APIs.

Instead, you can use the user mappings to assign users in selected AD groups to roles in OneLogin and then access that information via the API.

What's your use case?