Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CheckedOutByUser property

SPFile.CheckedOutByUser property

Gets an object that represents the user who has checked out the file.

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

public SPUser CheckedOutByUser { get; }

Property value

Type: Microsoft.SharePoint.SPUser
If the file is checked out, the user who has checked it out; otherwise, a null reference (Nothing in Visual Basic).
© 2015 Microsoft