Xp user a/c currentuser()

R

Rob

Sorry this is sort of a re post but i have tried to word it more clearly.

I am trying to know where to start in creating a multiuser environment
through windows XP Pro providing people which all work at different times on
the same PC not on a network.

I am using A2K2, Can I use CurrentUser() to record actions by someone who
is logged on through their account or is that just the name of the actual
computer on the workgroup or network?

Your help is much appreciated.

Thanks Rob
 
D

Douglas J. Steele

CurrentUser returns the Access user id. In other words, it only works if
you've set up your application such that each user has to log into it.
(otherwise, you'll get Admin, the default user id).

Sounds as though you want the network user id. There's code to get that in
http://www.mvps.org/access/api/api0008.htm at "The Access Web"
 

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