How can I create a new SharePoint group by code?
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
From http://www.codekeep.net/snippets/0301b30a-cdf9-4dd2-bbd0-0be4ad6c1a90.aspx :
|
|||
|
|
|
Creating the group is simple just call SPGroupCollection.Add
Then you need may need to add users/groups and permissions depending on your needs |
|||
|
|