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

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.

© 2015 Microsoft