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 name of the user who owns the lock.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property LockedBy As String
Get
'Usage
Dim instance As SPFileLockException
Dim value As String
value = instance.LockedBy
public string LockedBy { get; }
Property Value
Type: System.String
The name of the user.