SP.File.lockedByUser Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets a value that returns the user that owns the current lock on the file.

var value = SP.File.get_lockedByUser();

Property Value

Type: SP.User

Applies To

SP.File Class

Exceptions

Remarks

It must return null if there is no lock. It must return null if there is no lock.

See Also

Reference

SP.File Methods

SP.File Properties

SP Namespace