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

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

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

    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 Guest

  2. Similar Questions and Discussions

    1. How to allow a user account local login to server?
      Hi, I need to allow some local access so they can administer print jobs and print reports from a custom printing app installed on Server 2003. ...
    2. Associating a local profile with more than one user account.
      Hello! I need the article that explains how to associate a local profile with more than one user. I know there is an article on it, but I cannot...
    3. Create additional local admin user account via script
      You may try this, we've used it often in different environments: @echo creating user DB2ADMIN net user DB2ADMIN YOURPW /add net localgroup...
    4. Single XP Account for local and domain user
      Hi all, I'm fairly new to the server scene (well, actually, I'm completely clueless), so bear with me here. On my home network I have an XP Pro...
    5. local user account size restriction
      I am trying to restrict local user accounts to a certain size for example. Three local users on one pc, 3OGB hard drive. Restrict each user to...
  3. #2

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

    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" <MilanB@discussions.microsoft.com> wrote in message
    news:C2404469-3B27-4109-B703-282E9F366B2A@microsoft.com...
    > 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\) Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139