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)

Syntax

'Declaration
Public ReadOnly Property Author As SPUser
    Get
'Usage
Dim instance As SPFile
Dim value As SPUser

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

Property value

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

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace