Module org.elasticsearch.xcore
Class GetUserPrivilegesRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<GetUserPrivilegesRequest,GetUserPrivilegesResponse>
org.elasticsearch.xpack.core.security.action.user.GetUserPrivilegesRequestBuilder
- All Implemented Interfaces:
RequestBuilder<GetUserPrivilegesRequest,GetUserPrivilegesResponse>
public class GetUserPrivilegesRequestBuilder
extends ActionRequestBuilder<GetUserPrivilegesRequest,GetUserPrivilegesResponse>
Request builder for checking a user's privileges
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the username of the user whose privileges should be retrieved.
-
Constructor Details
-
GetUserPrivilegesRequestBuilder
-
-
Method Details
-
username
Set the username of the user whose privileges should be retrieved. Must not benull
-