G
Guest
Hi-
I have set up a security class for my DB using the security wizard.
I have a large list of users and groups with different permission levels.
What I want to do is be able to manipulate my switchboard according to someone's permissions.
For example, I would like for someone that has the permission to view the financial data to be able to click a button on the switchboard that links to the financial data form, however if they do not have the permissions I would like to throw a msgbox at them.
Basically what i am asking how would I write this pseudocode in VB:
If (currentuser does NOT have permissions to view THIS OBJECT) Then
msgbox("You do not have permission")
cancel action
End if
Thanks guys!
I have set up a security class for my DB using the security wizard.
I have a large list of users and groups with different permission levels.
What I want to do is be able to manipulate my switchboard according to someone's permissions.
For example, I would like for someone that has the permission to view the financial data to be able to click a button on the switchboard that links to the financial data form, however if they do not have the permissions I would like to throw a msgbox at them.
Basically what i am asking how would I write this pseudocode in VB:
If (currentuser does NOT have permissions to view THIS OBJECT) Then
msgbox("You do not have permission")
cancel action
End if
Thanks guys!