DocumentManagerCheckIn Method (ConnectionId, SessionId, DocumentId, Boolean) 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)

public void CheckIn(
	ConnectionId connectionId,
	SessionId sessionId,
	DocumentId documentId,
	bool forceCheckin


Type: ContentStudioConnectionId
A value that identifies the web site
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
Type: ContentStudio.DocumentDocumentId
The document to check in.
Type: SystemBoolean
Forces a document that is checked out by another user to be checked in.

  • 1001 - Session is invalid
  • 1002 - Permission denied
  • 1805 - The document does not support this functionality.
  • 1806 - Failed to check in the document, no permission to do a force check in.
  • 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

The user that has the document checked out can successfully execute this method. In order to force check in on a document that is checked out by another user WriteSecurity (Admin) permission on the document i required.
See Also