WebPart that redirect if user is not in a specific SharePoint security group -


does know of webpart, webpart code or client code this?

i'd give security group contribute sepecific list, want customize copies of forms can run , make sure can't run other speicfic forms list.

when webpart sees not in specific security group redirect them error page or other page.

thanks.

you can create webpart runs code:

if (!spcontext.current.web.sitegroups["groupname"].containscurrentuser) {   sputility.redirect("url", spredirectflags.default, httpcontext.current); } 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -