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

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

Gets the subscription credentials.

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

public ICSCredentialsContainer GetSubscriptionCredentials(
	CategoryId categoryId,
	SubscriptionType subscriptionType
)

Parameters

categoryId
Type: ContentStudio.DocumentCategoryId
The category id.
subscriptionType
Type: ContentStudio.Document.SubscriptionSubscriptionType
The type of the subscription to return. Currently only Newsletter is valid.

Return Value

Type: ICSCredentialsContainer
An ICSCredentialsContainer that contain the credentials.
Exceptions

ExceptionCondition
CSExceptionA business rule was violated in the underlying Content Studio database
CSPermissionDeniedExceptionThe caller has no permission to perform the requested action
CSInvalidSessionExceptionThe session is invalid
CSInvalidParameterExceptionA parameter has an invalid value
NotSupportedExceptionThe value of subscriptionType parameter is not supported.
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

This method can only successfully be executed by sessions that have the ServiceQueueAdmin global right.
Remarks

Note Note
This method is new in Content Studio 5.2
See Also

Reference