Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting UserIDs from NT while in Access VBA

Status
Not open for further replies.

SBendBuckeye

Programmer
May 22, 2002
2,166
US
I know how to get the environment items using Environ and someone posted a routine a while ago with code to read an NT server logon information, but is there a way to read an NT file of valid users?

I need to create a combobox of system users for about a 60 person organization and would like to create it from the LAN which is NT if I can. Can anyone help me? Is this even possible?

Thanks in advance for any help you can give me!

Have a great daY!
 
Hi,

I've got to admit that it'd be the most effective way of administering a company user list in Access, but you are talking major security bypassing here (hard to get the NT list - easy to get the Access list).
You'd need to use NT sysad security passwords to get to the info. - in code.

I wouldn't advise doing this - even if the coding was simple (which it won't be).

I would personally get the list of employees - add 'em to a table and maintain the list as and when employees join/leave.

Regards,

Darrylle "Never argue with an idiot, he'll bring you down to his level - then beat you with experience." darrylles@totalise.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top