Class GetUserPrivilegesRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.GetUserPrivilegesRequest
Get user privileges.
Get the security privileges for the logged in user. 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. To check whether a user has a specific list of privileges, use the has privileges API.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "security.get_user_privileges
".static final GetUserPrivilegesRequest
Singleton instance forGetUserPrivilegesRequest
. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_INSTANCE
Singleton instance forGetUserPrivilegesRequest
. -
_ENDPOINT
public static final Endpoint<GetUserPrivilegesRequest,GetUserPrivilegesResponse, _ENDPOINTErrorResponse> Endpoint "security.get_user_privileges
".
-
-
Constructor Details
-
GetUserPrivilegesRequest
public GetUserPrivilegesRequest()
-