DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Richard Guest

    Any VB function or win API can find out which NT group one user belongs to

    Hi, Patrick,
    I know this is out of the topic, but I need help here. Do you know any function(WIN
    API ok) exitst for VB programmer, to detect which window NT/2K group he belongs

    Thanks in advance, any help will be appreciated.


  2. #2
    Tim Patrick Guest

    Re: Any VB function or win API can find out which NT group one user belongs to

    Here is a web page that describes the process how to use Active Directory
    to get the groups for a user. It is written in ASP/VBScript and requires
    Windows 2000.


    You can also scan through the SDK at Microsoft's web site (http://msdn.microsoft.com/library/default.asp).
    I am sure you already knew about the WNetGetUser function for getting the
    user name. There are similar functions named GetUserName and GetUserNameEx.
    The Group Policy section of the library may be of interest as well.

    By the way, I found most of the information listed above by doing a search
    on www.deja.com, a useful search tool.
    Tim Patrick

Similar Threads

  1. Thanks!!! Re: call c/c++ function from VB
    By Chris in forum VB Classic
    Replies: 1
    Last Post: 08-08-2002, 11:02 AM
  2. Getting a GUI to function
    By Eric in forum Java
    Replies: 1
    Last Post: 11-27-2001, 06:53 AM
  3. In Search of a VB User Group
    By Ron Gomez in forum Careers
    Replies: 1
    Last Post: 10-18-2001, 08:15 PM
  4. Any way to find to what group the user belongs to
    By poornima in forum VB Classic
    Replies: 0
    Last Post: 05-11-2000, 12:33 PM
  5. Trying to print a PDF File from VB
    By Kunal Sharma in forum VB Classic
    Replies: 2
    Last Post: 04-25-2000, 03:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center