- 3 minutes to read

User Management with the Nodinite LDAP Web API

Easily create and manage users in your LDAP directory using the Nodinite LDAP Web API. This page provides clear XML and JSON examples for user creation, property assignment, and password handling.

✅ Create users with custom properties and secure passwords
✅ Use both XML and JSON formats for flexible integration
✅ Enable, update, and manage accounts programmatically
✅ Streamline onboarding and directory management

Create User Example

You can create a user with custom properties and enable the account in a single operation.

XML

<ns0:LDAP xmlns:ns0="http://integrationsoftware.se/BizTalk/Adapters/LDAP/Request/1.0">
  <Batches guid="B7A211D7-20F3-44BC-B078-7F1B6E1C047F" returnResponseMessageOnExceptions="true">
    <Batch guid="2B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8D" continueOnError ="false">
      <User>
        <With OU="OU=Users,OU=Karlstad" DC="DC=WILDWEST,DC=local" searchScope="Subtree" expectedMatchCount="1" returnProperties ="" />
        <Operations>
         <Create name="Jane Doe">            
            <Password>Password_0!%¤"#¤</Password>
            <Properties>
              <Property name ="description" value ="Description set from LDAP Adapter from Integration Software." contentType ="String"/>
              <Property name ="userAccountControl" value ="544" contentType ="String"/>
            </Properties>
          </Create>
        </Operations>
      </User>
    </Batch>
  </Batches>
</ns0:LDAP>

JSON

{
  "RequestId": "b7a211d7-20f3-44bc-b078-7f1b6e1c047f",
  "Batches": [
    {
      "continueOnError": false,
      "guid": "2b25b9e6-4af2-4094-9ae7-e1e4c99b6c8d",
      "User": {
        "With": {
          "CN": "",
          "OU": "OU=Users,OU=Karlstad",
          "DC": "DC=WILDWEST,DC=local",
          "searchScope": "Subtree",
          "expectedMatchCount": "1",
          "returnProperties": "",
          "sizeLimit": 0,
          "searchFilter": ""
        },
          "Operations": {
            "Create": {
              "@name": "Jane Doe",
              "Properties": {
                "Password": "Password_0!%¤\"#¤",
                "Property": [
                  {
                    "@name": "userAccountControl",
                    "@value": "544",
                    "@contentType": "String"
                  },
                  {
                    "@name": "description",
                    "@value": "Description set from LDAP Adapter from Integration Software.",
                    "@contentType": "String"
                  }
                ]
              }
            }
        }
      },
      "Group": null,
      "OrganizationalUnit": null,
      "Schema": null,
      "AD": null
    }
  ],
  "PassThruContent": null,
  "ReturnResponseOnExceptions": true
}

You can use these examples as templates for your own user management and onboarding automation with the Nodinite LDAP Web API.

Next Step