How to change the password of an LDAP domain user through a soap call in TIBCO Data Virtualization?

How to change the password of an LDAP domain user through a soap call in TIBCO Data Virtualization?

book

Article ID: KB0074795

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization 8.2 and later

Description

How to change the password for the ldap domain that was previously declared in TIBCO Data Virtualization (TDV), but without using the browser-based manager tool?  

Resolution

You can utilize our native soap operation seen in the Studio as:  /services/webservices/system/admin/user/operations/updateDomain

----------------------------------------------------------------------------------------------------------------------------------
Note:  for help on the attribute names and types to use as the input parameters, you can run:
/services/webservices/system/admin/user/operations/getDomainTypeAttributeDefs

with this type of input request:
<user:getDomainTypeAttributeDefs xmlns:user="http://www.compositesw.com/services/system/admin/user">
  <user:domainType>LDAP</user:domainType>
</user:getDomainTypeAttributeDefs>
----------------------------------------------------------------------------------------------------------------------------------


For the updateDomain operation, this is an example of a soap envelope input to change the password for a TDV ldap domain named "yourldapdomainname" to use the new password "mynewpassword".

<user:updateDomain xmlns:user="http://www.compositesw.com/services/system/admin/user" xmlns:common="http://www.compositesw.com/services/system/util/common">
  <user:domainName>yourldapdomainname</user:domainName>
  <user:annotation></user:annotation>
  <user:attributes>
    <common:attribute>
      <common:name>a_domain_admin_new_password</common:name>
      <common:type>PASSWORD_STRING</common:type>
      <common:value>mynewpassword</common:value>
    </common:attribute>
  </user:attributes>
</user:updateDomain>
 

Issue/Introduction

How to change the password of an LDAP domain user through a soap call in TIBCO Data Virtualization?