SPWeb Properties


SPWeb.Author Property (Microsoft.SharePoint)
Gets a user object that represents the user who created the Web site.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Property Author As SPUser
Visual Basic (Usage)
Dim instance As SPWeb
Dim value As SPUser

value = instance.Author

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

Property Value

An SPUser object that represents the user who created the Web site.
See Also

Tags :


Page view tracker