Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the user who has locked the file.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property LockedByUser As SPUser
Get
'Usage
Dim instance As SPFile
Dim value As SPUser
value = instance.LockedByUser
public SPUser LockedByUser { get; }
Property value
Type: Microsoft.SharePoint.SPUser
The user who owns the lock on the file. If the file is not locked, the value is a null reference (Nothing in Visual Basic).