Username

M

mikec

how do i get the username of the person logged into a
project. i've tried the CurrentUser() but keep getting
Admin no matter who is logged in.
 
M

MGFoster

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you're talking about an Access db - you have to set up user security,
create a user and assign that user to a group. If you haven't set up
user security the user is anways Admin.

With user security set up - when the application opens the user is
prompted for a user name and password. After the user successfully logs
in, the function CurrentUser() will return the login name.

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQVB08YechKqOuFEgEQJYdwCcC17+Hk0AUtUq6friUXheqcGljUsAoOOc
mCTacT4/HqwEKKtkreT7JqF3
=hzWT
-----END PGP SIGNATURE-----
 
G

Guest

-----Original Message-----
how do i get the username of the person logged into a
project. i've tried the CurrentUser() but keep getting
Admin no matter who is logged in.



.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top