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

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

Gets a limited subset of information of a subscribable category.

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

public string GetSubscribableCategory(
	ConnectionId connectionId,
	SessionId sessionId,
	Guid identifier


Type: ContentStudioConnectionId
The connection id.
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
Type: SystemGuid
The identifier.

Return Value

Type: String

Xml with the following syntax:

    <definition identifier="Guid string value"
              categoryid="Integer value"
              name="String value"
              description="String value"
              subscriptiontype="Integer value"
    <!--more definition can follow -->

This Xml has the following elements and attributes

Return Xml syntax
statusInteger: The outcome of the call, always 0
statustextString: the textual outcome of the call, Always "Success"
definitionThis element represents a found category
definition/@identifierGuid: a global unique identifier of this data. This value can be used by external applications to connect a subscriber repository to a category
definition/@categoryidInteger: the Content Studio identifier of this category
definition/@nameString: the name of the category
definition/@descriptionString: a description of the category.
definition/@subscriptiontypeInteger: the integer representation of the type of subscription.

If the identifier does not identifies a subscription definition the definition element is missing.


SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

Any authenticated or anonymous user can successfully call this method.
See Also