Package org.ovirt.engine.sdk4.services
Interface UserService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
UserServiceImpl
public interface UserService extends Service
A service to manage a user in the system. Use this service to either get users details or remove users. In order to add new users please use <>.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
UserService.GetRequest
Gets the system user information.static interface
UserService.GetResponse
Gets the system user information.static interface
UserService.RemoveRequest
Removes the system user.static interface
UserService.RemoveResponse
Removes the system user.static interface
UserService.UpdateRequest
Updates information about the user.static interface
UserService.UpdateResponse
Updates information about the user.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventSubscriptionsService
eventSubscriptionsService()
List of event-subscriptions for this user.UserService.GetRequest
get()
Gets the system user information.DomainUserGroupsService
groupsService()
UserOptionsService
optionsService()
AssignedPermissionsService
permissionsService()
UserService.RemoveRequest
remove()
Removes the system user.AssignedRolesService
rolesService()
Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.SshPublicKeysService
sshPublicKeysService()
AssignedTagsService
tagsService()
UserService.UpdateRequest
update()
Updates information about the user.
-
-
-
Method Detail
-
get
UserService.GetRequest get()
Gets the system user information. Usage: .... GET /ovirt-engine/api/users/1234 .... Will return the user information: [source,xml] ----admin 23456 [email protected] Lastname * user1 user1@domain-authz domain-authz
-
remove
UserService.RemoveRequest remove()
Removes the system user. Usage: .... DELETE /ovirt-engine/api/users/1234 ....
-
update
UserService.UpdateRequest update()
Updates information about the user. Only the `user_options` field can be updated. For example, to update user options: [source] ---- PUT /ovirt-engine/api/users/123 ---- With a request body like this: [source,xml] ----test ["any","JSON"] > endpoint instead.
-
eventSubscriptionsService
EventSubscriptionsService eventSubscriptionsService()
List of event-subscriptions for this user.
-
groupsService
DomainUserGroupsService groupsService()
-
optionsService
UserOptionsService optionsService()
-
permissionsService
AssignedPermissionsService permissionsService()
-
rolesService
AssignedRolesService rolesService()
-
sshPublicKeysService
SshPublicKeysService sshPublicKeysService()
-
tagsService
AssignedTagsService tagsService()
-
-