Class GetUserRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.GetUserRequest

public class GetUserRequest
extends RequestBase
Retrieves information about users in the native realm and built-in users.
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static GetUserRequest of​(java.util.function.Function<GetUserRequest.Builder,​ObjectBuilder<GetUserRequest>> fn)
    • username

      public final java.util.List<java.lang.String> username()
      An identifier for the user. You can specify multiple usernames as a comma-separated list. If you omit this parameter, the API retrieves information about all users.

      API name: username

    • withProfileUid

      @Nullable public final java.lang.Boolean withProfileUid()
      If true will return the User Profile ID for a user, if any.

      API name: with_profile_uid