DocumentManagerCheckIn Method (ConnectionId, SessionId, DocumentId) Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Checks in a document that is currently checked out. This methods supports anonymous callers.

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

public void CheckIn(
	ConnectionId connectionId,
	SessionId sessionId,
	DocumentId documentId
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site
sessionId
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
documentId
Type: ContentStudio.DocumentDocumentId
The document to check in.
Exceptions

ExceptionCondition
CSException
  • 1001 - Session is invalid
  • 1002 - Permission denied
  • 1805 - The document does not support this functionality.
  • 1808 - Failed to check in the document. It must be checked the same person that holds it checked out.
  • 1807 Failed to check in the document. The document is already checked in.
  • 1823 No valid content that could be checked in could be found.
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

Only the user that has the document checked out can successfully execute this method.
See Also

Reference