how do i create a view that has security settings

T

Tomer Br

i need to create a form that if user x opens the form it will open in 1 view
and if user y opens the form ti will open it in a difrent view
 
S

StefanO-nl

In the OnLoad-event you could try something like:
switch(System.Environment.UserName) {
case "user1": thisXDocument.View.SwitchView("View1"); break;
case "user2": thisXDocument.View.SwitchView("View2"); break;
case "user3": thisXDocument.View.SwitchView("View3"); break;
}
 
J

Josh Bertsch [MSFT]

This is quite easy in SP1 Preview with our built in Roles support.

It should also be strongly noted that without using Digital Signatures when
using a Roles feature there is no guarentee of the data being secure.
Editting the XML through Notepad is quite easy and accessible.

--josh bertsch
 

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