Class HasPrivilegesRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.HasPrivilegesRequest
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class HasPrivilegesRequest extends RequestBase implements JsonpSerializable
Check user privileges.

Determine whether the specified user has a specified list of privileges. All users can use this API, but only to determine their own privileges. To check the privileges of other users, you must use the run as feature.

See Also: