Any one help how to get user’s used privilage from assined privilege from vcenter.
For ex. i have one user with administrator role, in administrator role user’s have many privileges, So how we can get from that privileges user’s how mauch previlage thay use. Any pwershell script or cmds
Sandesh,
Welcome to the forum. ![]()
This forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.
We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.
You can likely get all this done via the PowerCLI. Have a look here. Download the User Guide and if you see what you need, install the module. I did a few tests and it was very easy to get the users role and then permissions for that role.