Results 1 to 2 of 2

Thread: Finding out if NT User is in a Group

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Location
    Atlanta, GA
    Posts
    8

    Unhappy

    Hey,

    I need to know how to find out if the user running my application is in a particular group in the network,
    based on security needs for the program. Does anyone
    have a snippet (I really hate that word) that could
    help me figure that out? I know how to verify NT logon,
    just not how to apply the username to a group.

    Thanks !!
    "The God of VB has Spoken"
    Senior Developer Analyst
    Siemens Energy & Automation
    Alpharetta, GA

  2. #2
    Lively Member
    Join Date
    Jan 1999
    Location
    Rochester NY, USA
    Posts
    93
    I don't have any code for you but what you're going to want to do is look at the MSDN site and search for netapi32. It's a dll that handles all the domain related stuff. Warning.. code written using it will not work on 95/98.

Posting Permissions

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



Click Here to Expand Forum to Full Width