Skip to content

Add AcmaSchemaBinding

Ryan Newington edited this page Sep 4, 2025 · 5 revisions

Add-AcmaSchemaBinding

Description

Creates a binding of an attribute to an object class. Bindings can be static, or inherited from a referenced object present on the object class. An inherited binding becomes read-only and is automatically updated when the referenced attribute changes.

Syntax

# Simple binding
Add-AcmaSchemaBinding -Attribute <string> -ObjectClass <string>

# Inherited binding
Add-AcmaSchemaBinding -Attribute <string> -ObjectClass <string> -InheritanceSourceClass <string> -InheritanceSourceReference <string> -InheritanceSourceAttribute <string>

Parameters

-Attribute

The name of the attribute to bind to the object class

Type: String
Required: Yes
Position: 0

-ObjectClass

The name of the object class to bind the attribute to

Type: String
Required: Yes
Position: 1

-InheritanceSourceClass

The type of object that the InheritanceSourceReference references

Type: String
Required: Yes (for inherited binding)
Position: 2

-InheritanceSourceReference

The attribute on the object that contains a reference value to inherit from

Type: String
Required: Yes (for inherited binding)
Position: 3

-InheritanceSourceAttribute

The attribute on the referenced object to inherit

Type: String
Required: Yes (for inherited binding)
Position: 4

Return type

This cmdlet does not return any output

Examples

Example 1: Create a simple binding

Add-AcmaSchemaBinding -Attribute "accountName" -ObjectClass "person"

Example 2: Create an inherited binding

Add-AcmaSchemaBinding -Attribute "orgUnitName" -ObjectClass "person" -InheritanceSourceReference "orgUnit" -InheritanceSourceClass "organizationalUnit" -InheritanceSourceAttribute "displayName"

Clone this wiki locally