Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
kiranb13
Contributor III
Contributor III

To fetch list of groups and list of users under the group in QMS API

Hello Team,

Can you please help me with the below query.

I need to fetch the list of user groups and list of users from the user Group.

Which method from QMS API can fetch the above mentioned data ?

2 Replies
kiranb13
Contributor III
Contributor III
Author

Hello Everyone,

Can anyone get answer for the above query ?

bknol
Partner - Contributor III
Partner - Contributor III

Hi Kiran B,

Not sure if you can fetch a list of user groups and the users that are in the groups in the format below.

  • Group A
    • User A
    • User B
  • Group B
    • User A
    • User C

You can use the method LookUpNames and get all groups and users if you pass an asterisk (*) as the 'names' parameter. Performance can depend on how much directory service providers are used.

Documentation and example of this method can be found here: IQMS.LookupNames Method

To resolve the groups a user is in, use the method ResolveUserGroups.

Documentation here: IQMS.ResolveUserGroups Method

Kind regards,

Bas Knol

The Implementation Group