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

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

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:
    400
    jelle
    Jan 25, 2005
  2. Tom
    Replies:
    1
    Views:
    407
    lordy
    Jul 28, 2006
  3. Chad Dressler
    Replies:
    0
    Views:
    788
    Chad Dressler
    Dec 30, 2006
  4. Replies:
    3
    Views:
    1,264
  5. Replies:
    0
    Views:
    406
  6. JB
    Replies:
    1
    Views:
    450
    James Irvine
    Jun 11, 2010
  7. Pasi Häkkinen

    Quering PrincipalSecurityAttributes on class

    Pasi Häkkinen, May 25, 2005, in forum: ASP .Net Security
    Replies:
    6
    Views:
    228
    Zdenek Drlik
    Jun 9, 2005
  8. Berger, Daniel
    Replies:
    1
    Views:
    285
Loading...