SecondaryContact Property

The SecondaryContact property of the SPSite class gets or sets the secondary contact used for the site collection.

Property Value

A Microsoft.SharePoint.SPUser object that represents the secondary contact.

Remarks

The user specified by the SecondaryContact property should not be identical to the user specified by the Owner property.

Example

The following example sets a user as the secondary contact for a site collection.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security