VMware {code} Community
Yang711
Enthusiast
Enthusiast

I tried to get the users who belong to the user group

I tried to get the users who belong to the user group 

■I tried to get the users who belong to the user group

retrieveUserGroups just determines if it's a group.
I don't know what users the group has.

So,
How to vsphere aip determine which user group a user belongs to?
Or can I get what users are in the user group?

■I searched for the following API, but I can't find it.
Doesn't it support now?

We are always investigating what the API can use:
• vsphere-web-services-sdk-programming-guide-7.0.3.pdf
https://developer.vmware.com/web/sdk/7.0/vsphere-management


https://vdc-download.vmware.com/vmwb-repository/dcr-public/b6123020-daa6-4907-8696-5c27e7510a8c/6061... guide-7.0.3.pdf.
• vSphere Web Services API
https://developer.vmware.com/apis/1192/vsphere

 

■Purpose

I want to get what role ID the user has,
I can only retrieve a user group using RetrieveAllPermissions and I don't know what users are in that user group.

0 Kudos
0 Replies