Skip to content

Opensearch dashboards.iscopedclusterclient.ascurrentuser

Home > opensearch-dashboards > IScopedClusterClient > asCurrentUser

IScopedClusterClient.asCurrentUser property

A client to be used to query the opensearch cluster on behalf of the user that initiated the request to the OpenSearch Dashboards server.

Signature:

readonly asCurrentUser: OpenSearchClient;