I have been doing some research on the currentuser() function and basing events on its value.
I have been testing around the following
If CurrentUser() = "manager" Then
Me.tabHide.Visible = True
End If
My understanding is that if a user called "manager" is logged in the tab will become visible.
What would i have to do if i wanted to make the tab visible based on the group a user is in rather than their log in name? e.g. bill and john are both managers that need to see that particular tab but have different usernames?
I have been testing around the following
If CurrentUser() = "manager" Then
Me.tabHide.Visible = True
End If
My understanding is that if a user called "manager" is logged in the tab will become visible.
What would i have to do if i wanted to make the tab visible based on the group a user is in rather than their log in name? e.g. bill and john are both managers that need to see that particular tab but have different usernames?