username system variable

  • Thread starter Thread starter Robert
  • Start date Start date
R

Robert

We want to disable/enable buttoms in our Access App
depending on who the user is that is signed in. Can
anyone tell me if there is a system variable containing
the username of the user that is currently signed in?
 
Robert said:
We want to disable/enable buttoms in our Access App
depending on who the user is that is signed in. Can
anyone tell me if there is a system variable containing
the username of the user that is currently signed in?

CurrentUser()

There is also code in the security FAQ you can use to determine if the
current user is a member of a group. Then you can enable/disable buttons
based on group membership. This may be easier if you assign permissions by
group rather than by user.
 
Thanks Joan,

Where do I find this FAQ. I looked at the FAQ's on this
page but didn't see much. Code examples are always great.
 

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

Back
Top