Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15930

Query SAM database with SQL Server

$
0
0

Hi all,

I know that with the ADSI provider I can query the active directory from SQL Server using OPENQUERY or OPENROWSET. I wonder if there is a way to query the SAM database (either local or remote SAM) from SQL Server. For example a simple query to get the list of the members of the builtin\administrators group on a remote machine.


Viewing all articles
Browse latest Browse all 15930

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>