NoPermission

NoPermission
NoPermission

Thrown when an operation is denied because of privileges not held on managed object(s).

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ],
    "object": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "privilegeId": "string",
    "missingPrivileges": [
        {
            "_typeName": "string",
            "entity": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "privilegeIds": [
                "string"
            ]
        }
    ]
}
object
Optional

Deprecated as of vSphere 8.0, use the missingPrivileges field.

The managed object on which a permission is required.

string
privilegeId
Optional

Deprecated as of vSphere 8.0, use the missingPrivileges field.

The privilege identifier required

missingPrivileges
Optional

List of entities and missing privileges for each entity

Since: vSphere API Release 7.0.3.2