Looking for code to add or update Description field on Role


The vSphere API authorizationManager's addAuthenticationRole method only takes the role name and a list of privilege names as parameters.

I want to be able to populate or update the Description field of the Role item as I can in the vSphere UI.

The UI makes calls to the /ui service on the vCenter to do this, but that is not documented or accessible to me.

I would also like to understand if and how the Description field is represented by the info.label and info.summary fields on a role object in the authorizationManager's roleList

I have researched the SDK and underlying API and I do not see a way to modify the Description field, regardless of language. I will be happy to have a solution in any language.

Sign in to be able to add comments.

Comments 0