C Board  

Go Back   C Board > General Programming Boards > Networking/Device Communication

Reply
 
LinkBack Thread Tools Display Modes
Old 01-19-2004, 11:29 AM   #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.
Traveller is offline   Reply With Quote
Old 01-19-2004, 11:36 AM   #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
kuphryn is offline   Reply With Quote
Old 01-19-2004, 11:46 AM   #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.
Traveller is offline   Reply With Quote
Old 01-20-2004, 03:40 PM   #4
Yes, my avatar is stolen
 
anonytmouse's Avatar
 
Join Date: Dec 2002
Posts: 2,544
Did you try NetQueryDisplayInformation?
anonytmouse is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 12:36 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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