다음을 통해 공유


SPWeb.Author Property

Gets or sets a user object that represents the user who created the website. (Read-only in sandboxed solutions.)

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property Author As SPUser
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As SPUser

value = instance.Author

instance.Author = value
public SPUser Author { get; set; }

Property Value

Type: Microsoft.SharePoint.SPUser
An SPUser object that represents the user who created the website.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace