Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
WRITE permission is required for documents. For units and categories the caller must have WRITE CONTAINER permission.
For the site root the GLOBAL GROUP ADMIN right is required. The latter security right is needed if the ApplyLevel is set to ApplyToAllContainers.
[This is preliminary documentation and is subject to change.]
Saves a new status for an object that can control the usage of the publish date functionality
Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public void Save( ConnectionId connectionId, SessionId sessionId, CSFileObjectTypes objectType, int objectId, bool usePublishDate, CSApplyLevels applyLevel )
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). - objectType
- Type: ContentStudio.DocumentCSFileObjectTypes
The type of object to update. - objectId
- Type: SystemInt32
The object to test. - usePublishDate
- Type: SystemBoolean
The new value to set - applyLevel
- Type: ContentStudio.DocumentCSApplyLevels
Indicates how the new value should be applied to child objects
Exceptions
Exception | Condition |
---|---|
CSException | A business rule was violated in the underlying Content Studio database |
SqlException | An error occurred when executing the command against the Content Studio database |
Content Studio permissions
See Also