Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Programmatically Creating a Site Group

  Asked By: Cierra    Date: Dec 07    Category: Sharepoint    Views: 1857

We have a certain site template that when used they would like to have
additional site groups set up along with it. Is there some sample
code out there that would help me create the site group based off of
the Reader group - one group will be just like the reader group and
the other will be just like it with one additional item checked. I do
not need to populate the groups with members - I just need to get the
groups created so that they can be used.



1 Answer Found

Answer #1    Answered By: Ali Javed     Answered On: Dec 07

The ADD method of the SPRoleCollection creates a site  group with the
specific features. You can refer to the SDK for details.

Didn't find what you were looking for? Find more on Programmatically Creating a Site Group Or get search suggestion and latest updates.