Site.Owner property

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

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

Syntax

'Declaration
Public Property Owner As User
    Get
    Set
'Usage
Dim instance As Site
Dim value As User

value = instance.Owner

instance.Owner = value
public User Owner { get; set; }

Property value

Type: Microsoft.SharePoint.Client.User
An User object that represents the owner.

Remarks

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

See also

Reference

Site class

Site members

Microsoft.SharePoint.Client namespace