Expand Minimize
This topic has not yet been rated - Rate this topic

SPWeb.CreateDefaultAssociatedGroups method

Creates an owner group.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public void CreateDefaultAssociatedGroups(
	string userLogin,
	string userLogin2,
	string groupNameSeed
)

Parameters

userLogin
Type: System.String
The user logon name of the group owner.
userLogin2
Type: System.String
The secondary contact for the group
groupNameSeed
Type: System.String
The name of the group created.

If the website has a null  AssociatedVisitorGroup property and a null  AssociatedOwnerGroup property before you call this method then it will create a visitor group and an owner group with the groupNameSeed name.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.