Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / August 2006

Tip: Looking for answers? Try searching our database.

Active Directory Queries

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel Jameson - 24 Aug 2006 19:39 GMT
Hi,

I'm interested in querying my domain's Active Directory database from SQL
Server 2000.  In particular, I would like to be able to take a network user
name and determine its membership in network groups so I can list all the
network logins that user has to a SQL server instance.  I would like to do
this from T-SQL, if possible.

Signature

Thank you,

Daniel Jameson
SQL Server DBA
Children's Oncology Group
www.childrensoncologygroup.org

Paul Ibison - 24 Aug 2006 20:01 GMT
Daniel,
there's not a huge amount of details about ADSI queries, but these links
should help you set it up:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/distr
ibuted_query.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/acdata/ac_8_qd_
12_94fn.asp

   Cheers,
        Paul Ibison SQL Server MVP, www.replicationanswers.com
Daniel Jameson - 24 Aug 2006 23:16 GMT
Paul,

Cool, that looks like a good start.  Now I just  need to learn those LDAP
queries.

Signature

Thank you,

Daniel Jameson
SQL Server DBA
Children's Oncology Group
www.childrensoncologygroup.org

> Daniel,
> there's not a huge amount of details about ADSI queries, but these links
[quoted text clipped - 3 lines]
>    Cheers,
>         Paul Ibison SQL Server MVP, www.replicationanswers.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.