Retreive a Windows UserID First & Last Name

D

dch3

I'm looking for code that will return the UserId, User First Name and User
Last Name of the person currently logged on to a PC. I've found code that
will supply the UserID, but I also need the person's name. ('dch87' doesn't
tell a person squat.)

David H
 
D

dch3

Its the Active Directory information that I'm looking for. The idea is to
setup a means by which the user id, user first name and user last name is
preloaded onto a registration form of sorts. The idea is that users will be
entering their information on their own for documentation purposes only. I
can already grab the ID, but was hoping to grab the user first & last name to
speed things up. Due to the nature of the business, things have to be as
absolutely simple as possible.

David H
 
D

dch3

"Dr. Lanning's Hologram: I'm sorry, my responses are limited. You must ask
the right question."

Its the Active Directory user information that I'm looking for and evidently
it is possible via VBA, although I've only started snooping around.

David H
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top