VMware vCloud Suite SDK Perl
The VMware vCloud Suite SDK for Perl supports the client-side vCloud Suite API for access to vCloud services and capabilities
 All Classes Files Functions
List of all members
Com::Vmware::Vapi::Std::Errors::Unauthorized Class Reference
Inheritance diagram for Com::Vmware::Vapi::Std::Errors::Unauthorized:
Com::Vmware::Vapi::Std::Errors::Error

Avaliable Methods

public method new ()
 

Detailed Description

The Com::Vmware::Vapi::Std::Errors::Unauthorized error indicates that the user is not authorized to perform the method .

API requests may include a security context containing user credentials. For example, the user credentials could be a SAML token, a user name and password, or the session identifier for a previously established session. Invoking the method may require that the user identified by those credentials has particular privileges on the method* or on one or more resource identifiers passed to the method .

Examples:

Counterexamples:

For security reasons, the :attr:Com::Vmware::Vapi::Std::Errors::Error.data field* in this error is null , and the :attr:Com::Vmware::Vapi::Std::Errors::Error.messages field in this error does not disclose why the user is not authorized to perform the method . For example the messages would not disclose which privilege the user did not have or which resource identifier the user did not have the required privilege to access. The API documentation should indicate what privileges are required.

Member Function Documentation

public method Com::Vmware::Vapi::Std::Errors::Unauthorized::new ( )

Constructor to initialize the Com::Vmware::Vapi::Std::Errors::Unauthorized structure

Return values
Blessedobject
Code:
click to view

The documentation for this class was generated from the following file: