xpack.security.getUseredit

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

Reference

username

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