none
Assign SiteGroup to SiteUsers Webpart via PowerShell RRS feed

  • Question

  • Hi,

    our subsites will be created via PowerShell. It will be used a Template,  with a SiteUser Webpart on the home page. In that Webpart should be displayed a site-specific Group, created in PowerShell too.

    How to put the Group into the Webpart :  how to get the Webpart and how to set the appropriate Attribute ?

    Thanks,

    Michel

    Wednesday, May 29, 2013 7:42 AM

Answers

  • Hi,

    solved: by using methode SPWeb.SiteGroups.Add and by editing SPWeb.SiteGroups attributes.

    Michel

    • Marked as answer by Michel777 Friday, May 31, 2013 4:25 PM
    Friday, May 31, 2013 4:25 PM