GetSelfServiceSiteCreationSettings(Boolean, Boolean, String) Method

The GetSelfServiceSiteCreationSettings method of the SPSite class returns the settings used for Self-Service Site Creation.

Parameters

bIsSscEnabled  true if Self-Service Site Creation is enabled for the site collection; otherwise, false.

bRequireSecondaryContact  true if a secondary owner is required for every site created by using Self-Service Site Creation; otherwise, false.

strInclusionExclusions   A string in XML format that contains URL namespaces that are included or excluded on the virtual server.

Example

The following code example displays the Self-Service Site Creation settings for a specified site collection.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security