DocumentComponentSupportListDocumentsInCategoryWithDirectACE Method Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Returns a list of documents in a category that have at least one direct ACE set

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

public string ListDocumentsInCategoryWithDirectACE(
	ConnectionId connectionId,
	SessionId sessionId,
	CategoryId categoryId
)

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).
categoryId
Type: ContentStudio.DocumentCategoryId
The category to list documents from

Return Value

Type: String
Xml:
<root>
<status>0</status>
<statustext>Success</statustext>
<list>
<cs_document>
<elementid>Integer value</elementid>
<elementname>String value</elementname>
<filename>String value</filename>
<modifieddate>DateTime value</modifieddate>
<contenttype>String value</contenttype>
<revision>Integer value</revision>
<filesize>Integer value</filesize>
<publishstatus>Integer value</publishstatus>
</cs_document>
<!--more cs_document nodes can follow -->
</list>
</root>
Exceptions

ExceptionCondition
CSExceptionA business rule was violated in the underlying Content Studio database
CSPermissionDeniedExceptionThe caller has no permission to perform the requested action
CSInvalidSessionExceptionThe session is invalid
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

Callers must have READ permission on the category in order to succeed.
See Also

Reference