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
Overview
Section titled “Overview”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.
Operations Summary
Section titled “Operations Summary”| 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 |
GetAllClasses
Section titled “GetAllClasses”The GetAllClasses operation returns the names of all classes in the LDAP schema.
Example: Retrieve All Schema Classes
Section titled “Example: Retrieve All Schema Classes”<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>GetAllOptionalAttributes
Section titled “GetAllOptionalAttributes”The GetAllOptionalAttributes operation returns all optional attributes for a specified class.
Attributes
Section titled “Attributes”| 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>GetAllMandatoryAttributes
Section titled “GetAllMandatoryAttributes”The GetAllMandatoryAttributes operation returns all mandatory attributes for a specified class.
Attributes
Section titled “Attributes”| 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>Use Cases
Section titled “Use Cases”Schema Discovery
Section titled “Schema Discovery”Query GetAllClasses to discover what object types are available in your LDAP directory (user, group, organizationalUnit, contact, etc.).
Attribute Validation
Section titled “Attribute Validation”Before creating or updating LDAP objects, query GetAllMandatoryAttributes to ensure you provide all required attributes and avoid operation failures.
Dynamic Forms
Section titled “Dynamic Forms”Use GetAllOptionalAttributes to build dynamic user interfaces that allow setting additional properties based on the schema definition.
Documentation & Compliance
Section titled “Documentation & Compliance”Generate documentation of your LDAP schema structure by combining all three operations to create comprehensive attribute references.
Next Steps
Section titled “ Next Steps”- Review the Request Schema for complete message structure
- Explore the Response Schema for understanding operation results
- Learn about User Management for creating objects with proper attributes
- Check Logging for troubleshooting schema queries