Restricting access to views based upon roles

S

sodell

I understand how to set up roles in SP1, but one thing I'm struggling with
is this:

I have a form with three views in it, but based upon what role a user
belongs to, I want to keep them from seeing or even accessing those views.
(example: view1 can be seen by everyone, view2 by only managers, and view3
by managers and IT personnel)

I had some conditional formatting in there to do this, but it seemed like a
hack.

Is there a better way?

-- Stacy
 
B

Brian Teutsch [MSFT]

You'll have to turn off the option to show those views in the Views menu (in
View Properties). Then, use Roles and Rules to switch to the allowed view
when the user opens the form. Be aware, this is not at all a security
feature. Users are still able to open the XML. If you have to worry about
that, you should use a web service that returns only the relevant XML.

Brian
 

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

Top