IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

xpack.security.getUser

edit
client.xpack.security.getUser({
  username: string | string[]
})

Reference

username

string | string[] - A comma-separated list of usernames