Red Hat Training
A Red Hat training course is available for Red Hat Virtualization
2.18. Searching for Users
The following table describes all search options for users.
Table 2.14. Searching for Users
Property (of resource or resource-type) | Type | Description (Reference) |
---|---|---|
| Depends on property type | The property of the virtual machines associated with the user. |
| Depends on property type | The property of the hosts associated with the user. |
| Depends on property type | The property of the templates associated with the user. |
| Depends on property type | The property of the events associated with the user. |
| String | The name of the user. |
| String | The last name of the user. |
| String | The unique name of the user. |
| String | The department to which the user belongs. |
| String | The group to which the user belongs. |
| String | The title of the user. |
| String | The status of the user. |
| String | The role of the user. |
| String | The tag to which the user belongs. |
| String | The pool to which the user belongs. |
| List | Sorts the returned results by one of the resource properties. |
| Integer | The page number of results to display. |
Example
Users: Events.severity > normal and Vms.status = up or Vms.status = pause
This example returns a list of users where events of greater than normal severity have occurred on their virtual machines AND the virtual machines are still running; or the users' virtual machines are paused.