Interface UsersService.AddResponse

  • All Superinterfaces:
    Response
    Enclosing interface:
    UsersService

    public static interface UsersService.AddResponse
    extends Response
    Add user from a directory service. For example, to add the `myuser` user from the `myextension-authz` authorization provider send a request like this: [source] ---- POST /ovirt-engine/api/users ---- With a request body like this: [source,xml] ---- myuser@myextension-authz myextension-authz ---- In case you are working with Active Directory you have to pass user principal name (UPN) as `username`, followed by authorization provider name. Due to https://bugzilla.redhat.com/1147900[bug 1147900] you need to provide also `principal` parameter set to UPN of the user. For example, to add the user with UPN `[email protected]` from the `myextension-authz` authorization provider send a request body like this: [source,xml] ---- [email protected] [email protected]@myextension-authz myextension-authz ----
    • Method Detail