Re: Terminal Server user name
From: david epsom dot com dot au (david_at_epsomdotcomdotau)
Date: 07/26/04
- Next message: GeorgeMar: "Re: VBA to VB"
- Previous message: GeorgeMar: "Re: Overwriting of new table"
- In reply to: Kevin Witty: "Terminal Server user name"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 26 Jul 2004 17:59:00 +1000
In Access, 'Environ$' gets you the environment variables.
At many locations there is a 'username' environment variable,
so you can use =Environ$("UserName")
This isn't better than using the windows API, just easier
to type :~)
(david)
"Kevin Witty" <kdwitty@yahoo.com> wrote in message
news:ZvwMc.8459$YK2.2308591@news4.srv.hcvlny.cv.net...
> I'm about to deploy Access 2003 in a terminal server environment. I'd like
> to be able to capture theTS (Windows) user logon name from within access
to
> track who's doing what. In a client-server environment I use MSLDBUsr to
> capture the computer name, but I doubt this will work now. Any
suggestions?
> Environmental variable I can grab? (Although no search I've done on
> "environmental variable" and Access has turned anything up.)
>
> Kevin
>
>
- Next message: GeorgeMar: "Re: VBA to VB"
- Previous message: GeorgeMar: "Re: Overwriting of new table"
- In reply to: Kevin Witty: "Terminal Server user name"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|