MLCGetMemberStatus Method (ConnectionId, SessionId, CategoryId) Content Studio 5.7 SDK
Content Studio Web Content Management System

[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)

public string GetMemberStatus(
	ConnectionId connectionId,
	SessionId sessionId,
	CategoryId categoryId


Type: ContentStudioConnectionId
A value that identifies the web site
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
Type: ContentStudio.DocumentCategoryId
The category to retrieve status for.

Return Value

Type: String
Xml with the following sample syntax
    <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 -->

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)

CSExceptionA business rule was violated in the underlying Content Studio database
  • 1001 - The SessionID is invalid.
  • 1002 - Permission denied.
  • 1503 - The category does not exist.
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

Read permission is required on the selected category.
See Also