Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an Active Directory directory service object of the specified schema class for the specified container. Used by Microsoft Provisioning Framework (MPF).
The following table describes the XML schema elements and attributes. Unless otherwise indicated, the data type is string.
Element | Description, relationships, and attributes |
---|---|
autoGenerateEmailAddresses |
Description: In MPF installations running Exchange 2000 Server, the default policy is to automatically generate addresses for new mail-enabled objects. When Exchange generates an address, it sets the new object's proxyAddresses property to "alias@domain". This is a problem if the object should have a different address. To override this default behavior and preserve a manually-defined value for proxyAddresses, include an autoGenerateEmailAddresses node with a value of "0" in the request to Create Object. For example:
![]()
To use the autoGenerateEmailAddresses option, the computer that runs the Active Directory Provider must have Collaboration Data Objects (CDO) installed.
Parent: |
class |
Description:
Parent: |
container |
Description:
If possible, allow Active Directory to dynamically assign a domain controller to the object. If you specify the domain controller in the container path, you must later use the Active Directory Provider::Make Path Domain Specific [HMC SDK1] procedure to modify the path so it points to the Active Directory domain instead of to the domain controller. This extra step is necessary to ensure that other domain controllers can support the object if the original controller is unavailable. Parent: |
executeData |
Description: Encapsulates the procedure's input and output data. Children: |
flagIgnoreAlreadyExistsError |
Description: Now that MPF supports try/catch error handling (through Provisioning Schema::try and Provisioning Schema::catch elements), there is little need to specify flagIgnoreAlreadyExistsError. This node was originally introduced to support error handling. For example, a Create Object call ordinarily fails if the user already exists. To override this behavior, the request can include a flagIgnoreAlreadyExistsError node, which instructs Create Object to return the flagSkipAction node. Subsequent calls pass this node to prevent further operations on the object. For example, if the next call is to , the presence of flagSkipAction prevents accidental resets of the user's password. Parent: |
flagSetOwner |
Description: Parent: |
flagSkipAction |
Description: Parent: |
name |
Description:
Parent: |
path |
Description:
and
result in
path is saved in the rollback log, so it can be deleted after rollback. |
properties |
Description:
Parent: Child: |
property |
Description:
Parent: Child: Attributes:
modeOptional. Control code that indicates how the procedure handles the incoming property value.
nameRequired. Name of the property.
|
value |
Description:
Parent: |
Create Object is a wrapper for IADsContainer::Create. Create Object also uses IADs::PutEx and IADs::SetInfo to set the new object's properties and copy the object to the underlying directory store.
Currently, there is no support for setting the ntSecurityDescriptor property in this provider; however, the Script Provider can be used to create an object so that IADsSecurityDescriptor can be used.
The rollback action for Create Object is Active Directory Provider::Delete Object.
Input
<executeData>1..1
<container>1..1</container>
<class>1..1</class>
<name>1..1</name>
<properties>0..1
<property name=".." mode="..">0..unbounded
<value>0..unbounded</value>
</property>
</properties>
<flagIgnoreAlreadyExistsError/>0..1</flagIgnoreAlreadyExistsError>
<flagSetOwner/>0..1</flagSetOwner>
<autoGenerateEmailAddresses>0..1</autoGenerateEmailAddresses>
</executeData>
Output
<executeData>1..1
<path>1..1</path>
<flagSkipAction/>0..1
</executeData>
Example XML Request
The following code fragment shows the format for sending data to this procedure. For more information on individual elements and attributes, see the Elements and Attributes table.
Example XML Response
The following code fragment shows the format for data this procedure returns. For more information on individual elements and attributes, see the Elements and Attributes table.
Active Directory Provider for:
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0
Windows-based Hosting version 4.5
Windows-based Hosting version 4.0
Windows-based Hosting version 3.5
Windows-based Hosting for Applications version 1.0
Active Directory Provider::Delete Object
Active Directory Provider::Make Path Domain Specific [HMC SDK1]
Active Directory Provider::Make Path Domain Controller Specific [HMC SDK1]