UndoCheckout(Boolean):Void

Discards the current editing process for the data object.

If a data object has been checked out, then it is locked for editing for other users. In order to release this editing process for others, the data object must be checked in or discarded.

This method discards the content modifications to the data object since it was checked out. The version generated when checking out is therefore no longer existent.

This method is able to discard data objects which are currently checked out by other users. The calling user must have the role of user manager to do this however.

Return type: System.Void

Parameter

force

Type: System.Boolean

This parameter indicates whether the data object is to be discarded, even if the current editor of the data object is not the user who calls the method.

If the method is called with the value false, then an AccessPermissionException is triggered if the current editor of the data object is not the calling user. The method UndoCheckout corresponds to this call.