xpack.security.getRole

edit
client.xpack.security.getRole({
  name: string
})

Reference

name

string - Role name