Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
An ICSCredentialsContainer that contain the credentials.
This method can only successfully be executed
by sessions that have the ServiceQueueAdmin global right.
[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: ICSCredentialsContainerAn ICSCredentialsContainer that contain the credentials.
Exceptions
Exception | Condition |
---|---|
CSException | A business rule was violated in the underlying Content Studio database |
CSPermissionDeniedException | The caller has no permission to perform the requested action |
CSInvalidSessionException | The session is invalid |
CSInvalidParameterException | A parameter has an invalid value |
NotSupportedException | The value of subscriptionType parameter is not supported. |
SqlException | An error occurred when executing the command against the Content Studio database |
Content Studio permissions
Remarks
Note |
---|
This method is new in Content Studio 5.2 |
See Also