Directory Services

ADO SQL Dialect

When using the ActiveX® Directory Objects (ADO), using the SQL dialect, single quotation marks (') must be used around the attribute and range specifier.

The following is an example of the ADO SQL dialect .

Command.Text = "select Name, 'member;Range=0-50' from 'LDAP://CN=Group1,DC=Fabrikam,DC=Com' where objectCategory='group'"