SelfServiceCreate method (SPWeb, String, String, String, String, String, String)

SPWebApplication.SelfServiceCreate method (SPWeb, String, String, String, String, String, String)

SharePoint 2013

Creates SPSite or SPWeb object use the SPWebApplication.MaxSiteVersion.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPWeb SelfServiceCreate(
	SPWeb contextWeb,
	string siteUrl,
	string siteTitle,
	string siteDescription,
	string contactLogin,
	string contactName,
	string contactEmail
)

Parameters

contextWeb
Type: Microsoft.SharePoint.SPWeb
siteUrl
Type: System.String
siteTitle
Type: System.String
siteDescription
Type: System.String
contactLogin
Type: System.String
contactName
Type: System.String
contactEmail
Type: System.String

Return value

Type: Microsoft.SharePoint.SPWeb
Show:
© 2016 Microsoft