vCenter

 View Only

How to get roles of a particular user through API

  • 1.  How to get roles of a particular user through API

    Posted Feb 18, 2020 01:13 PM

    Hi,

    I have "UsserSession" object with me and from this I want to know what are the roles assigned to a particular user through which I have logged in.

    I have looked at the documentations, but the APIs I got gives me only roles for a particular datacenter or vm or host etc.

    Let me know where can I find an API to get the role assigned to a particular user.

    Thanks.