docs: def updateIdenityStore(self,
                             userPassword,
                             user,
                             userFullnameAttribute,
                             ldapURLForUsers,
                             userEmailAttribute,
                             usernameAttribute,
                             isPasswordEncrypted=False,
                             caseSensitive=True):
          r"""
          You can use this operation to change the identity provider
          configuration in your portal. When Portal for ArcGIS is first
          installed, it supports token-based authentication using the
          built-in identity store for accounts. To configure your portal to
          connect to your enterprise authentication mechanism, it must be
          configured to use an enterprise identity store such as Windows
          Active Directory or LDAP.
  
          Inputs:
             userPassword -The password for the domain account, for example,
                           secret.
             isPasswordEncrypted - Indicates if the userPassword property is
                                   an encrypted password or plain text. If
                                   the property is false, the API will
                                   encrypt the password automatically.
             user - A user account with at least read permissions to look up
                    the email addresses and user names of users in your
                    organization. If possible, use an account whose password
                    does not expire.
                    Windows Active Directory example: mydomain\\winaccount
                    LDAP example: uid=admin\,ou=system
             userFullnameAttribute - The attribute in Windows Active
                                     Directory or LDAP that contains the full
                                     name of the users, for example, cn.
             ldapURLForUsers - The URL to your LDAP that points to the user
                               accounts, for example,
                               ldap://bar2:10389/ou=users\,ou=ags\,dc=example\,dc=com.
                               The URL to your LDAP will need to be provided
                               by your LDAP administrator.
                               This property is not applicable when
                               configuring Windows Active Directory.
             userEmailAttribute - The attribute in Windows Active Directory
                                  or LDAP that contains the email addresses
                                  of the users, for example, email.
             usernameAttribute - The LDAP attribute of the user entry that is
                                 to be treated as the user name, for example, cn.
                                 This property is not applicable when
                                 configuring Windows Active Directory.
             caseSensitive - In the rare case where your Windows Active
                             Directory is configured to be case sensitive,
                             set this property to true.
                             If your LDAP is configured to be case
                             insensitive, set parameter to false.
          """
          url = self._url + "/config/updateIdentityStore"
          params = {
              "f" : "json",
              "userPassword" : userPassword,
              "isPasswordEncrypted" : isPasswordEncrypted,
              "user" : user,
              "userFullnameAttribute": userFullnameAttribute,
              "ldapURLForUsers" : ldapURLForUsers,
              "userEmailAttribute" : userEmailAttribute,
              "usernameAttribute" : usernameAttribute,
              "caseSensitive" : caseSensitive
          }
          return self._post(url=url, param_dict=params,
                               securityHandler=self._securityHandler,
                               proxy_port=self._proxy_port,
                               proxy_url=self._proxy_url)