You can create tables that holds the names of your objects (forms and
reports) and the minimum level needed to view that object. Then cancel the
Open event of the form/report if the user doesn't meet the mimimum. You can
also hide/disable the buttons on your switchboard that the user doesn't have
access to.
If you don't want to store the user names and levels in a table, an
alternative is to give each user a command line switch that indicates their
level.
Of course, none of this is secure, but it may be adequate to keep the
unknowing from the unknowable. Give the tables a name that starts with USys
so Access hides them automatically.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Doctor" <(E-Mail Removed)> wrote in message
news:A6B0BFA5-E239-4BE4-AA95-(E-Mail Removed)...
> User level security is gone in Acess 2007. That's fine with me.
>
> But what is the best way to setup groups and limit what a user can
> view/run?
> For instance there are forms and reports that I want only higher user
> groups
> to view. Also, there are often tabs on a form that I want to make visible
> or
> invisible based on the users permissions.
>
> I can't find much on this topic in the forums or online. Right now, I am
> planning to do all of this by code. Is this the best way to do this. Has
> anyone done this type of model before that could point me in the right
> direction?
>
> Any help or samples would be tremendously appreciated.