Group

Group

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
<Site Url="{url}" Title="{title}" OwnerLogin="{siteowner}" Template="STS#0" LCID="1043" StorageQuota="1024" TimeZoneId="4">      
    <RootWeb LCID="1043" Title="{title}" Url="{url}" Description="{description}">      
        <Properties>
            <Property Name="WebTemplate">Project</Property>
            <Property Name="WebTemplateVersion">1.0.0.0</Property>
        </Properties>
        <Groups>
            <Group Name="{title} Bosses" Owner="{owner}" AllowMembersEditMemberships="true" AllowRequestToJoinLeave="true" Description="Cool Group" AutoAcceptRequestToJoinLeave="true">
                <Users>
                    <User LoginName="{owner}"/>
                </Users>
            </Group>
            <Group Name="{title} Sales Team">
            </Group>
            <Group Name="All Visitors">
                <Users>
                    <User LoginName="c:0(.s|true" Title="Everyone" />
                </Users>
            </Group>
        </Groups>
    </RootWeb>
</Site>

Owners, Members and Visitors

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<Site Url="{url}" Title="{title}" OwnerLogin="{siteowner}" Template="STS#0" LCID="1033" StorageQuota="1024" TimeZoneId="4">
    <RootWeb LCID="1033" Title="{title}" Url="{url}" Description="{description}">
        <Properties>
            <Property Name="WebTemplate">Project</Property>
            <Property Name="WebTemplateVersion">1.0.0.0</Property>
        </Properties>
        
        <!-- Associated owners, members, visitors on the rootweb -->
        <Owners Name="{title} Owners" Owner="{owner}" AllowMembersEditMembership="false" ObjectAction="Create">
            <Users>
                <User LoginName="{owner}" ObjectAction="Create"/>
                <User LoginName="ronald@maventionproducts.onmicrosoft.com" ObjectAction="Create" />
            </Users>
        </Owners>
        <Members Name="{title} Members" Owner="{owner}" AllowMembersEditMembership="false" ObjectAction="Create">
            <Users>
                <User LoginName="robert@maventionproducts.onmicrosoft.com" ObjectAction="Create"/>
            </Users>
        </Members>
        <Visitors Name="{title} Visitors" Owner="{owner}" AllowMembersEditMembership="false" ObjectAction="Create">
            <Users>
                <User LoginName="aram@maventionproducts.onmicrosoft.com" ObjectAction="Create"/>
            </Users>
        </Visitors>
    </RootWeb>
</Site>
What's on this Page