Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Owner property
Collapse the table of content
Expand the table of content

SPSite.Owner property

Gets or sets the owner of the site collection. (Read-only in sandboxed solutions.)

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

public SPUser Owner { get; set; }

Property value

Type: Microsoft.SharePoint.SPUser
An SPUser object that represents the owner.

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

Show:
© 2015 Microsoft