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;
}
> 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
Josh Bertsch [MSFT] - 19 Jul 2004 18:52 GMT
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
> In the OnLoad-event you could try something like:
> switch(System.Environment.UserName) {
[quoted text clipped - 5 lines]
> > 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