>Search the help for "Environ". Although some developers frown upon it
>because it can apparently be changed at a command prompt, I find it useful,
>but then again most of my users wouldn't know a command prompt if it bit
>them on the leg. You'd have to do a risk assessment for your own situation.

Signature
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
>>Search the help for "Environ". Although some developers frown upon it
>>because it can apparently be changed at a command prompt, I find it
[quoted text clipped - 5 lines]
> Oh yeah - API: Get Login name
> http://www.mvps.org/access/api/api0008.htm
Cheers Tony.
Keith.
David Gartrell - 10 May 2006 11:53 GMT
Thanks everyone for your help. I don't think people here would know a
command prompt if it bit them on the leg either so I think i'm safe!
David
>>>Search the help for "Environ". Although some developers frown upon it
>>>because it can apparently be changed at a command prompt, I find it
[quoted text clipped - 9 lines]
>
> Keith.
> Oh yeah - API: Get Login name
> http://www.mvps.org/access/api/api0008.htm
So, because you can get the user's network login name using the API, and it
is reliable (as it has seemed to be for me), and works every time, why would
you want/need to _also_ obtain the name from the ENVIRON which is, at least
in some cases, unreliable?
Larry
david@epsomdotcomdotau - 16 May 2006 14:14 GMT
I have users using the environment user variable as the
Access login name.
That is exceptionally easy to implement.
I know that using environ inside a program is not the
same as using it in the windows shell, but I think that
at least to a limited extent the same criteria apply: it
is easy to implement and understand.
In any serious program development, that's worth
something.
(david)
> > Oh yeah - API: Get Login name
> > http://www.mvps.org/access/api/api0008.htm
[quoted text clipped - 5 lines]
>
> Larry
Tony Toews - 17 May 2006 05:25 GMT
>So, because you can get the user's network login name using the API, and it
>is reliable (as it has seemed to be for me), and works every time, why would
>you want/need to _also_ obtain the name from the ENVIRON which is, at least
>in some cases, unreliable?
Why do both? Because I want to see if anyone is being a sneaky
bugger. If it's different then maybe that person is trying to
masquerade as someone else. And I want to know that.
Tony

Signature
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm