Share via


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)

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