user actual name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
It's easy to identify the user login name. But, is there any way to identify
the actual user name - the first and last name? Using something that exists
in dotnet DirectoryServices.DirectoryEntry;
System.DirectoryServices.DirectorySearcher; etc.

Thanks
 
Thanks for the response, Jeff.
Yes, this question is about MS Access.
I'm asking whether it's possible to get the actual user name along with the
login id in MS Access db. I'm giving the example of dotnet where it's
possible.
 
Thanks a lot Jeff again.

Yes, I'm looking for something like this. But, the first ref is well known
and returns login the same as strUser = Environ$("username").

The strUser = CurrentUser() returns "admin" for me. I'd like to get the
actual name such as "John Smith".
 
Alex said:
Thanks a lot Jeff again.

Yes, I'm looking for something like this. But, the first ref is well known
and returns login the same as strUser = Environ$("username").

The strUser = CurrentUser() returns "admin" for me. I'd like to get the
actual name such as "John Smith".

Well if you implement User Level security and force everyone to log in with
their full name then CurrentUser() will give you John Smith if that was the
name used to log in.
 
Alex said:
Thanks a lot Jeff again.

Yes, I'm looking for something like this. But, the first ref is well known
and returns login the same as strUser = Environ$("username").

The strUser = CurrentUser() returns "admin" for me. I'd like to get the
actual name such as "John Smith".

Another approach is to set up a mapping table that contains all valid network
logins in one field and the users full name in another. Then you can use the
login to lookup the full name and use it wherever you need.
 
Thank you very much Douglas.
It really returns a full name based on login id from a system. There are no
needs to have any static tables with login and full names what I have now.

It's exactly what I need.
 
Back
Top