Test run of new docs
This commit is contained in:
64
docs/reference-security-has_privileges_user_profile.asciidoc
Normal file
64
docs/reference-security-has_privileges_user_profile.asciidoc
Normal file
@ -0,0 +1,64 @@
|
||||
[[reference-security-has_privileges_user_profile]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
||||
|| You should update the script that does the generation, which can be found in: ||
|
||||
|| https://github.com/elastic/elastic-client-generator-js ||
|
||||
|| ||
|
||||
|| You can run the script with the following command: ||
|
||||
|| npm run elasticsearch -- --version <version> ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
===========================================================================================================================
|
||||
////////
|
||||
|
||||
[discrete]
|
||||
=== client.security.hasPrivilegesUserProfile
|
||||
|
||||
Check user profile privileges. Determine whether the users associated with the specified user profile IDs have all the requested privileges.
|
||||
|
||||
{ref}/security-api-has-privileges-user-profile.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(SecurityHasPrivilegesUserProfileRequest, options?): Promise<SecurityHasPrivilegesUserProfileResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `SecurityHasPrivilegesUserProfileRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface SecurityHasPrivilegesUserProfileRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
uids: SecurityUserProfileId[]
|
||||
privileges: SecurityHasPrivilegesUserProfilePrivilegesCheck
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `SecurityHasPrivilegesUserProfileResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface SecurityHasPrivilegesUserProfileResponse {
|
||||
has_privilege_uids: SecurityUserProfileId[]
|
||||
errors?: SecurityHasPrivilegesUserProfileHasPrivilegesUserProfileErrors
|
||||
}
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user