SPSiteAdministration.SecondaryContactLoginName Property

Gets or sets the value indicating the Login name of the secondary owner of the site collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property SecondaryContactLoginName As String
    Get
    Set
'Usage
Dim instance As SPSiteAdministration
Dim value As String

value = instance.SecondaryContactLoginName

instance.SecondaryContactLoginName = value
public string SecondaryContactLoginName { get; set; }

Property Value

Type: System.String
A string containing the Login name.

Remarks

Setting this property overwrites any existing secondary owner, and grants secondary owner status to this user. Clearing this property takes away this status from the existing secondary owner.

See Also

Reference

SPSiteAdministration Class

SPSiteAdministration Members

Microsoft.SharePoint.Administration Namespace