Setting an object’s manager

To update the manager attribute you just set it to the distinguished name of the existing user you require. A distinguished name is of the form: CN=John Smith,CN=Users,DC=test,DC=com.

So to set Jane Active’s manager to the existing user “John Smith” you would use a message like this:

<ActiveDirectoryUpdate>

<Directives WhereToBind=”LDAP://CN=Users,DC=test,DC=com” SearchScope=”onelevel” ObjectTypeFilter=”(objectClass=user)” MaxObjects=”1″/>

<Target PropertyName=”cn” EqualToValue=”Jane Active” />

<Change PropertyName=”manager” ChangeToValue=”CN=John Smith,CN=Users,DC=test,DC=com” ChangeType=”update” />

</ActiveDirectoryUpdate>

FAQs
Can ActiveADAPTER help me retrieve information from Active Directory?

Yes. The Active Directory Receive Adapter can be used to create a Receive Location that queries Active Directory at regular intervals and submit the results to your BizTalk application. A message can be submitted to BizTalk at every polling interval, or only when a change occurs in the query results (this is the "On Change Only" option on the Active Directory Receive Adapter property configuration).

In addition, the Active Directory Send Adapter can be used with a Solicit-Response Send Port to perform an on-demand query. You just send your query parameters to the send port in a message that conforms to the supplied schema, and receive your results back in a new message.

See the entire answer

What version of the .NET framework does ActiveADAPTER require?

.NET framework 3.5SP1. If it is not installed it can be easily downloaded and installed from Microsoft at:

http://www.microsoft.com/en-au/download/details.aspx?id=22

See the entire answer

Can the Active Directory Receive Adapter help me build an orchestration that listens for changes to Active Directory?

Yes. The ON CHANGE ONLY option on the Active Directory Receive Adapter provides this feature. A message is submitted to your BizTalk application only when the results of the query you have specified change. This feature provides a great way to trigger orchestrations and keep information in your Enterprise Applications synchronized.

There is also a REAL-TIME mode that gets events from Active Directory asynchronously and submits them to BizTalk  as they happen.

See the entire answer