Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
A ReadOnlyCollectionT of SubscriptionDefinitionListItem object that represents a the subscriptions that the subscriber has subscribed to.
Anyone, including anonymous caller, can successfully execute this method.
This method can be used when building a "My subscriptions" application.
[This is preliminary documentation and is subject to change.]
Gets a list of subscriptions for a for the specified subscriber.
Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public static ReadOnlyCollection<SubscriptionDefinitionListItem> SubscriptionsBySubscriber( ConnectionId connectionId, SessionId sessionId, string address, SubscriberAddressType addressType, bool includeDisabled )
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 typically is retrieved from a call to the OpenSession method - address
- Type: SystemString
The subscriber's address. - addressType
- Type: ContentStudio.Document.SubscriptionSubscriberAddressType
The type of address represented by the parameter. - includeDisabled
- Type: SystemBoolean
Defines whether the list includes disabled subscription definitions or not.
Return Value
Type: ReadOnlyCollectionSubscriptionDefinitionListItemA ReadOnlyCollectionT of SubscriptionDefinitionListItem object that represents a the subscriptions that the subscriber has subscribed to.
Exceptions
Exception | Condition |
---|---|
SqlException | An error occurred when executing the command against the Content Studio database |
NotSupportedException | The value of the addressType is not supported. |
Content Studio permissions
Remarks
See Also