Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
true if allowed; otherwise - false.
Either READ permission both documents - or - the GlobalGroupAdmin - or - WriteActiveContent global right is required.
[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: Booleantrue if allowed; otherwise - false.
Exceptions
Exception | Condition |
---|---|
CSInvalidSessionException | |
CSPermissionDeniedException | |
CSDocumentNotFoundException | |
SqlException |
Content Studio permissions
Remarks
This method was added in Content Studio 5.6 Update 1
See Also