Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help

September 2007 - Posts

How to add a group to a WSS v3 site
Get the group SPGroup group = web.SiteGroups["GROUP_NAME"]; Create a role assignment SPRoleAssignment newRoleAssignment = new SPRoleAssignment(group); Add the role definition (Full Control, Read, Contribute, …) to the role assignment Read More...