8.4.4 Lock Owner

The user who places a lock on a node is called the lock owner. The lock owner is identified by the user ID bound to the Session through which the node in question was accessed (that is, the string returned by Session.getUserID). The user ID is recorded in the property jcr:lockOwner of the lock holding node. The lock owner's ID is provided for informational purposes only, it is not used in testing whether a particular user has any permissions with respect to the lock (this is governed purely by whether the Session holds the applicable lock token, see below).