System login

R

RonB

I need to check users system login from with inside Access so I can diplay
different menus based on the system login. Any ideas?

Ron
 
N

Nikos Yannacopoulos

Ron,

Environ("UserName") will return the user's Windows login name.

HTH,
Nikos
 
D

Douglas J. Steele

Environment variables are very easy to change. For that reason, I always
recommend not relying on it, but using the API call recommended by Allen
instead.
 
Top