Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
mkwillia
Starting Member
1 Post |
Posted - 2005-08-22 : 14:49:23
|
| I'm trying to select from 2 different active directory groups (i.e. OU=Employees vs. OU=Temps). I've tried everything I can think of to get the thing working. The current code for 1 group is: SQLStmt = "SELECT department, cn, telephoneNumber, samaccountname, DistinguishedName, title FROM 'LDAP://OU=Employees,OU=Test,DC=Work,DC=co' WHERE objectclass='user' ORDER BY SN" How can I add the second group to this one? |
|
|
|
|
|