Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
XML containing the security descriptor
Read permission on the object is required in order to read permissions.
Do not work with the Content Studio security descriptor directly, its schema is rather complicated and working with is extremely prone to errors.
Use the CSSecurityDescriptor object to load and manipulate the security descriptor in a safe way.
[This is preliminary documentation and is subject to change.]
Returns a Content Studio securable object security descriptor in the Content Studio XML format.
Namespace: ContentStudio.Security
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public string GetObjectSecurity( ConnectionId connectionId, SessionId sessionId, int objectId, CSSecurableObjects objectType, string objectName )
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 obtain information for - objectType
- Type: ContentStudio.SecurityCSSecurableObjects
The type of object identified by the objectID parameter. The value is not valid as a parameters and causes an error. - objectName
- Type: SystemString
The name of the object.
Return Value
Type: StringXML containing the security descriptor
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
Remarks
See Also