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

xpack.security.getRole

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

Reference

name

string - Role name