IPageCheckOut Method Ingeniux CMS Content Store API

Checks out the page and assigns it to the current user. A page can only be edited after it is checked out to the current user.

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

int CheckOut(
	bool recursive
)

Parameters

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

Return Value

Type: Int32
Count of pages operated over
Remarks

If a page was already checked out, this method will continue to check out descendants. If not a recursive operation, 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 was assigned to another user and the current user doesn't have the right to assign a page, an error will be thrown.

Two events are fired during execution of this method: BeforePageCheckOut and AfterPageCheckOut.

See Also

Reference