Network Users

This is a discussion on Network Users within the Networking/Device Communication forums, part of the General Programming Boards category; I am currently creating a DLL for use with some Office Aps and I need to be able to view ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    317

    Network Users

    I am currently creating a DLL for use with some Office Aps and I need to be able to view usernames of all personnel who have access to the network, aka, access to the list of profiles I guess?
    The network is a NT network that also utilizes an exchange server to handle mail. Basically I want to control security to the main app by validating the user against a list. However to allow the main user to add additional personnel I need him to be able to pull up a list of usernames to add. Any help in this area will be much appreciated. Thx in advance.

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    One possible solution is NetUserEnum(). Check out MSDN.

    http://msdn.microsoft.com/library/de..._functions.asp

    Kuphryn

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    317
    thx for the reply but unfortunately in reading up I discovered this:

    The NetUserEnum function does not return all system users. It returns only those users who have been added with a call to the NetUserAdd function.

    Any other ideas will be greatly appreciated or even possibly another implementation idea.

  4. #4
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Did you try NetQueryDisplayInformation?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Function validation.
    By Fhl in forum C Programming
    Replies: 10
    Last Post: 02-22-2006, 08:18 AM
  2. 3D Network Analysis Tool
    By durban in forum Projects and Job Recruitment
    Replies: 1
    Last Post: 11-08-2005, 06:33 PM
  3. Finding users on a network and messaging them.
    By Necrodeemer in forum C++ Programming
    Replies: 3
    Last Post: 05-04-2003, 03:04 PM
  4. Windows ntfs perms
    By wp_x in forum Tech Board
    Replies: 3
    Last Post: 03-04-2003, 06:38 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21