ListManagerMenuItemMovePreCheck Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Checks that a menu item can be moved to a new parent.

Namespace: ContentStudio.Document.Listing
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public bool MenuItemMovePreCheck(
	ConnectionId connectionId,
	SessionId sessionId,
	DocumentId source,
	DocumentId destination
)

Parameters

connectionId
Type: ContentStudioConnectionId
The connection identifier.
sessionId
Type: ContentStudio.SecuritySessionId
The session identifier.
source
Type: ContentStudio.DocumentDocumentId
The document to move.
destination
Type: ContentStudio.DocumentDocumentId
The document that should be the new document parent.

Return Value

Type: Boolean
true if allowed; otherwise - false.
Exceptions

Content Studio permissions

Either READ permission both documents - or - the GlobalGroupAdmin - or - WriteActiveContent global right is required.
Remarks

This method was added in Content Studio 5.6 Update 1

See Also

Reference