SPFile.CheckedOutBy property

NOTE: This API is now obsolete.

This property is obsolete. Use LockedByUser instead.

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

[ObsoleteAttribute("SPFile.CheckedOutBy is obsolete.  Use SPFile.LockedByUser or SPFile.CheckedOutByUser instead.")]
public SPUser CheckedOutBy { get; }

Property value

Type: Microsoft.SharePoint.SPUser
An SPUser object that represents the user. Returns a null reference (Nothing in Visual Basic) if the file is not locked or checked out.

A locked document is always checked out.