[[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 || || || || || || || =========================================================================================================================== //////// [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 ---- [discrete] ===== `SecurityHasPrivilegesUserProfileRequest` [source,ts] ---- interface SecurityHasPrivilegesUserProfileRequest extends <> { uids: SecurityUserProfileId[] privileges: SecurityHasPrivilegesUserProfilePrivilegesCheck } ---- [discrete] ===== `SecurityHasPrivilegesUserProfileResponse` [source,ts] ---- interface SecurityHasPrivilegesUserProfileResponse { has_privilege_uids: SecurityUserProfileId[] errors?: SecurityHasPrivilegesUserProfileHasPrivilegesUserProfileErrors } ----