Hi i programatically create a new website so:
using (SPSite site = new SPSite(SPContext.Current.Web.Url)) { using ( SPWeb newWeb = site.AllWebs.Add( SiteName,//Site url SiteName,//Site Name DescriptionValue, 1040,// Language Eng TextProperty1, true, false ) )
The Snippet works fine but in the new site i don t have the default SharePoint Group ;Member of ,Owner of etc.. Why? How i can define these groups?I see only the Group from the root site ..