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

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

Gets a limited information about a single subscription.

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

public string GetSubscriptionInfo(
	ConnectionId connectionId,
	SessionId sessionId,
	Guid subscriptionId
)

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).
subscriptionId
Type: SystemGuid
A identifier of the subscription to get.

Return Value

Type: String

Xml

<root>
<status>0</status>
<statustext>Success</statustext>
  <subscription subscriptionId="6A3AB4A9-5D98-4AAF-9483-44335BA0DA88" 
                subscriberAddress="john@smith.com" 
                subscriptionType="Newsletter" 
                subscriberAddressType="Email" 
                subscriberName="John Smith" 
                activated="False" />
</root>
Exceptions

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

This method can successfully be executed by any caller that has access to a valid subscriptionId.
See Also

Reference