ADS Input Format From-Entity Syntax

Log Parser

ADS Input Format From-Entity Syntax

<from-entity> ::= [[<provider>:]//[<username>:<password>@]<domain>]/<path> [ ; ...]
The <from-entity> specified in queries using the ADS input format is a semicolon-separated list of LDAP paths.
Each LDAP path begins with an optional provider name (e.g. "IIS", "LDAP"), followed by an optional domain or computer name. If a provider name is not specified, then "IIS" is assumed by default. If a domain name or computer name is not specified, then "localhost" is assumed by default.

The from-entity can optionally include a username and a password to be used for the connection to the Active Directory provider. When these are not specified, the ADS input format uses the current user's credentials.

Note: LDAP paths containing comma (,) characters should be enclosed within single-quote (') characters.

Examples:

FROM IIS://COMPUTER01/W3SVC/1
FROM IIS://MyUsername:MyPassword@COMPUTER01/W3SVC/1
FROM 'LDAP://MyDomain/CN=Users,DC=MyDomain,DC=com'
FROM 'LDAP://MyUsername:MyPassword@MyDomain/CN=Users,DC=MyDomain,DC=com'
FROM /W3SVC/1;/W3SVC/2;//COMPUTER02/W3SVC/1


© 2004 Microsoft Corporation. All rights reserved.