Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Xml with the following sample syntax
The status value can be either zero which indicates that the category is not an MLC member or a combination of the following flags values.
Read permission is required on the selected category.
[This is preliminary documentation and is subject to change.]
Retrieves the MLC status for an MLC member (category).
Namespace: ContentStudio.Document.MLC
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public string GetMemberStatus( 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 retrieve status for.
Return Value
Type: StringXml with the following sample syntax
<root> <status>0</status> <statustext>Success</statustext> <mlcstatus masterid="527" mastername="Svenska EPT-Dokument" mastermodule="XMLDocument" masterlanguageid="1053" masterlanguage="Swedish - Sweden" masterlanguagecode="sv" status="2" languageid="1030" language="Danish" languagecode="da" pathname="MLC/Svenska EPT-Dokument/Danska EPT-Dokument" /> <!-- more member elements can follow --> </root>
The status value can be either zero which indicates that the category is not an MLC member or a combination of the following flags values.
- 0x1 - Master category
- 0x2 - Member category
- 0x4 - A connected object exists (for master categories only)
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