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.