Datacenter Get Effective Role

Datacenter Get Effective Role

Access rights the current session has to this entity.

Required privileges: System.View

Request
URI
GET
https://{api_host}/sdk/vim25/{release}/Datacenter/{moId}/effectiveRole
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case Datacenter/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {}
]
array of integer
Optional

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/Datacenter/{moId}/effectiveRole