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.
 
Back
Top