Class

# VMware_VCloud_SDK_User

class VMware_VCloud_SDK_User extends VMware_VCloud_SDK_Abstract

## Methods

string | getEntityId() Get vCloud ID of the vCloud resource entity from its data object. | from VMware_VCloud_SDK_Abstract
VMware_VCloud_API_ReferenceType | getUserRef() Get a reference to a VMware vCloud user entity. |
VMware_VCloud_API_UserType | getUser() Get a VMware vCloud user entity. |
string | getId() Constructs vCloud ID of this user from its UUID. |
VMware_VCloud_API_UserType|null | enable(boolean $enable = true) Enable a user. |
VMware_VCloud_API_UserType|null | disable() Disable a user. |
VMware_VCloud_API_UserType | modify(VMware_VCloud_API_UserType $user) Modify a user. |
null | delete() Delete a user. |
null | unlock() Unlock a user. |
VMware_VCloud_API_Extension_UserEntityRightsType | getEntityRights(VMware_VCloud_API_Extension_EntityReferencesType $refs) Queries user privileges on a set of entities. |
VMware_VCloud_API_ReferencesType | getGrantedRights() Queries user granted privileges. |

## Details

###
in VMware_VCloud_SDK_Abstract at line 85
`public string getEntityId()`

Get vCloud ID of the vCloud resource entity from its data object.

#### Return Value

string |

###
at line 10
`public VMware_VCloud_API_ReferenceType getUserRef()`

Get a reference to a VMware vCloud user entity.

#### Return Value

VMware_VCloud_API_ReferenceType |

###
at line 21
`public VMware_VCloud_API_UserType getUser()`

Get a VMware vCloud user entity.

#### Return Value

VMware_VCloud_API_UserType |

###
at line 32
`public string getId()`

Constructs vCloud ID of this user from its UUID.

#### Return Value

string |

###
at line 44
`public VMware_VCloud_API_UserType|null enable(boolean $enable = true)`

Enable a user.

#### Parameters

boolean | $enable | To enable, set to true; to disable, set to false

#### Return Value

VMware_VCloud_API_UserType|null |

###
at line 62
`public VMware_VCloud_API_UserType|null disable()`

Disable a user.

#### Return Value

VMware_VCloud_API_UserType|null |

###
at line 74
`public VMware_VCloud_API_UserType modify(VMware_VCloud_API_UserType $user)`

Modify a user.

#### Parameters

VMware_VCloud_API_UserType | $user |

#### Return Value

VMware_VCloud_API_UserType |

###
at line 86
`public null delete()`

Delete a user.

#### Return Value

null |

###
at line 99
`public null unlock()`

Unlock a user.

#### Return Value

null |

###
at line 112
`public VMware_VCloud_API_Extension_UserEntityRightsType getEntityRights(VMware_VCloud_API_Extension_EntityReferencesType $refs)`

Queries user privileges on a set of entities.

#### Parameters

VMware_VCloud_API_Extension_EntityReferencesType | $refs |

#### Return Value

VMware_VCloud_API_Extension_UserEntityRightsType |

###
at line 125
`public VMware_VCloud_API_ReferencesType getGrantedRights()`

Queries user granted privileges.

#### Return Value

VMware_VCloud_API_ReferencesType |