Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
CREATE permission on the object is required or GlobalGroupAdmin global right.
[This is preliminary documentation and is subject to change.]
Reads category information for a list of categories where the caller has CREATE permission.
Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public string GetCategoriesByIdList( ConnectionId connectionId, SessionId sessionId, int[] categoryIdList )
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). - categoryIdList
- Type: SystemInt32
A list of category id:s to return data for.
Return Value
Type: String<para> Xml with the following syntax, </para> <root> <status>Integer value</status> <statustext>String value</statustext> <categories> <category id="Integer value" name="String value" description="String value" module="String value" /> <!-- more category elements can follow --> </categories> </root>
The returned xml has the following elements and attributes
Element | Attribute | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
root/status | Integer: Indicates the outcome of the call, always 0, which indicates success. | |||||||||||||||||||
root/statustext | String: Indicates the outcome of the call, always 0, which indicates success. | |||||||||||||||||||
root/categories | The root element of the returned category list | |||||||||||||||||||
root/categories/category | The root element of a returned category, this element occur once for each returned category. | |||||||||||||||||||
root/categories/category | idInteger: the category identifier | |||||||||||||||||||
root/categories/category | name | String: the name of the category | ||||||||||||||||||
root/categories/category | description | String: the description of the category | ||||||||||||||||||
root/categories/category | module |
String: An internal value that defines the type of category.
|
Content Studio permissions
See Also