Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Programmatically Creating a Site Group

  Asked By: Cierra Navarro         Date: Dec 07, 2009      Category: Sharepoint      Views: 358
 

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.

Tagged:        

 

1 Answer Found

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

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.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].