AD Query

Queries Microsoft Active Directory at the specified DN (distinguished name) using the specified filter and returns the requested properties.

Properties

Connection

Type: Connection Input

BaseDn
Type: String
A Distinguished Name to prefix to the Dn property on the Node. Omit if not required.

Username
Type: String
The Active Directory username used to authenticate the request.

Password
Type: Password
The Active Directory password used to authenticate the request.

The Connection Property

Dn

Type: String Input
The Distinguished Name that represents the location at which the search should begin. If BaseDn is specified in the Connection property, it will be prefixed to the DN that is used in the query. Refer to System.DirectoryServices.DirectoryEntry in MSDN (http://msdn.microsoft.com/en-us/library/vstudio/87tye19w(v=vs.100).aspx) for examples of use.

Filter

Type: String Input
An Active Directory filter expression. Refer to System.DirectoryServices.DirectorySearcher in MSDN (http://msdn.microsoft.com/en-us/library/vstudio/323ez5ab(v=vs.100).aspx) for example of use.

SearchDepth

Type: List Input
OneLevel
Subtree
Base
Indicates the depth of the search.

IncludeGuid

Type: Boolean Input
Indicates whether the GUID of returned objects should be included.

PropertyList

Type: Multiline Text Input
Provides a list of line-separated (\r\n) property names identifying the Active Directory properties that should be returned.

ResultXml

Type: Xml Output
Provides the response data. The root response XML node is named Results and each matching result is enclosed in an XML node named Result. Sub-nodes contain property names with the value being enclosed in a value sub-node. Where a property is multi-valued, multiple value sub-nodes will be present.

Remarks

The AD Query Connector provides a wrapper around functionality available at in the System. DirectoryServices namespaces of the .net Framework. Refer to MSDN documentation on the topic for further detail of use.

Examples

See Sample Workflow for an example.