Jason,
Not sure if this will work under Novell, but as far as Windows goes:
Environ("UserName")
will return the Windows login name.
It can be argued that environment variables are fairly easy to change,
so some advise to use an API call instead, in order to retrieve the
Windows login name. The counter-argument is that hardly any user will
know how to do that, even if they know it's being used, but if you want
to go by the book you can find the code in:
http://www.mvps.org/access/api/api0008.htm
HTH,
Nikos
Jason wrote:
> Hi,
>
> I was wondering how i could use the current login in a textbox. I know the
> currentuser() gives me e.g. 'Admin' if no security is set up.
>
> But how can i get the login and/or hostname from windows (or if logged in
> through novell)?
>
> Greetings,
>
> J
>
>