Skip to content
Documentation
Updated 3 minutes to read
Markdown

Schema Management with the Nodinite LDAP Web API

Section titled “Schema Management with the Nodinite LDAP Web API”

Schema introspection operations for LDAP directories using the Nodinite LDAP Web API. Query available classes and their attribute requirements.

✅ Discovery: Get all available schema classes
✅ Attribute Inspection: Query mandatory and optional attributes
✅ Read-Only: Schema queries return results in SearchResult
✅ Integration Support: Understand schema requirements programmatically

Schema operations are available in the Operations section of the Schema record within the request message. These operations are read-only and do not require a With record for search criteria.

Both XML and JSON formats are supported. See the Request Schema for message structure details.

Operation Description Parameters
GetAllClasses Retrieve all schema class names None
GetAllOptionalAttributes Get optional attributes for a class className
GetAllMandatoryAttributes Get mandatory attributes for a class className

The GetAllClasses operation returns the names of all classes in the LDAP schema.

<ns0:LDAP xmlns:ns0="http://integrationsoftware.se/BizTalk/Adapters/LDAP/Request/1.0">
<Batches guid="2B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8D"
returnResponseMessageOnExceptions="true">
<Batch guid="3B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8E">
<Schema>
<Operations>
<GetAllClasses/>
</Operations>
</Schema>
</Batch>
</Batches>
</ns0:LDAP>

The GetAllOptionalAttributes operation returns all optional attributes for a specified class.

Attribute Required Description
className ✅ Yes The name of the LDAP schema class to query for optional attributes, for example user

Example: Get Optional Attributes for a Class

Section titled “Example: Get Optional Attributes for a Class”
<ns0:LDAP xmlns:ns0="http://integrationsoftware.se/BizTalk/Adapters/LDAP/Request/1.0">
<Batches guid="2B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8D"
returnResponseMessageOnExceptions="true">
<Batch guid="3B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8E">
<Schema>
<Operations>
<GetAllOptionalAttributes className="user"/>
</Operations>
</Schema>
</Batch>
</Batches>
</ns0:LDAP>

The GetAllMandatoryAttributes operation returns all mandatory attributes for a specified class.

Attribute Required Description
className ✅ Yes The name of the LDAP schema class to query for mandatory attributes, for example user

Example: Get Mandatory Attributes for a Class

Section titled “Example: Get Mandatory Attributes for a Class”
<ns0:LDAP xmlns:ns0="http://integrationsoftware.se/BizTalk/Adapters/LDAP/Request/1.0">
<Batches guid="2B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8D"
returnResponseMessageOnExceptions="true">
<Batch guid="3B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8E">
<Schema>
<Operations>
<GetAllMandatoryAttributes className="user"/>
</Operations>
</Schema>
</Batch>
</Batches>
</ns0:LDAP>

Query GetAllClasses to discover what object types are available in your LDAP directory (user, group, organizationalUnit, contact, etc.).

Before creating or updating LDAP objects, query GetAllMandatoryAttributes to ensure you provide all required attributes and avoid operation failures.

Use GetAllOptionalAttributes to build dynamic user interfaces that allow setting additional properties based on the schema definition.

Generate documentation of your LDAP schema structure by combining all three operations to create comprehensive attribute references.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...