Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
For documents WRITE permission on a document is required. For container objects (Site root, units or categories) WRITECONTAINER permission on the container is needed.
[This is preliminary documentation and is subject to change.]
Updates the value of the DocType property for a file system object (Site root, Unit, Category or Document).
Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public void SetForObject( ConnectionId connectionId, SessionId sessionId, int objectId, CSFileObjectTypes objectType, DocTypeManagerDocTypes docType )
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). - objectId
- Type: SystemInt32
The id of the object to update - objectType
- Type: ContentStudio.DocumentCSFileObjectTypes
The type of object to update - docType
- Type: ContentStudio.DocumentDocTypeManagerDocTypes
An identifier to the DocType. This can be any of the members of the DocTypeManagerDocTypes enumeration.
Content Studio permissions
See Also