Directions for quering local SAM (user and groups account) databas

M

MilanB

Hello
I need directions how to query local SAM (local user and groups on current
computer) database against.
I know that for quering Active Directory we use DirectorySearcher, and etc.

I need to retrive user info: User SID, MemberOf Goups, Group SID and etc.

Thanks
Milan
 
J

Joe Kaplan \(MVP - ADSI\)

You essentially would need to use the WinNT provider for ADSI/S.DS for local
machine use. The schema is a bit different, but if you follow the ADSI
documentation closely, you should be able to make it work.

Joe K.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top