IPageUndoCheckOut Method Ingeniux CMS Content Store API

Discards the changes in checked-out content and reverts the page to a checked-in state.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

void UndoCheckOut(
	bool recursive
)

Parameters

recursive
Type: SystemBoolean
Specifies whether to also undo check out on the descendants of this page.
Remarks

If page wasn't checked out, nothing will happen.

The current user must have permission to check in and check out pages. Otherwise, an error will be thrown.

The current user must have Full Access to this page. Otherwise, an error will be thrown.

If the page is not assigned to the current user and the current user doesn't have the right to check in other users' pages, an error will be thrown.

Two events are fired during execution of this method: BeforePageUndoCheckOut and AfterPageUndoCheckOut.

See Also

Reference