SPFile.Author Property

Gets the user who uploaded the document to the server or created the document on the server.

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

public SPUser Author { get; }

Property Value

Type: Microsoft.SharePoint.SPUser
An SPUser object that represents the user who uploaded or created the document.