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

Discussion in 'ASP .Net Security' started by MilanB, May 10, 2005.

  1. MilanB

    MilanB Guest

    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
     
    MilanB, May 10, 2005
    #1
    1. Advertising

  2. 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.

    "MilanB" <> wrote in message
    news:...
    > 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
     
    Joe Kaplan \(MVP - ADSI\), May 10, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jelle
    Replies:
    0
    Views:
    309
    jelle
    Jan 25, 2005
  2. Chad Dressler
    Replies:
    0
    Views:
    644
    Chad Dressler
    Dec 30, 2006
  3. Replies:
    3
    Views:
    1,052
  4. Replies:
    0
    Views:
    314
  5. JB
    Replies:
    1
    Views:
    351
    James Irvine
    Jun 11, 2010
Loading...

Share This Page