unlock (Document - Java)

Unlocks a document.

Note: This method is new with Release 6.5.

Defined in

Document

Syntax

public void unlock()
    throws NotesException

Usage

IsDocumentLockingEnabled in Database must be true or this method throws an exception.

This method throws an exception if the current user is not one of the lock holders and does not have lock breaking authority.

Example