Click or drag to resize
ForumSubscriptionInfoProviderGetUnsubscriptionUrl Method
Returns unsubscription URL which is used to cancel existing subscription

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 12.0.0
Syntax
C#
public static string GetUnsubscriptionUrl(
	ForumSubscriptionInfo subscription,
	ForumInfo forum,
	ForumPostInfo forumPost,
	string unsubscriptionUrl
)

Parameters

subscription
Type: CMS.ForumsForumSubscriptionInfo
Forum subscription object
forum
Type: CMS.ForumsForumInfo
Forum object
forumPost
Type: CMS.ForumsForumPostInfo
Forum post to which user was subscribed
unsubscriptionUrl
Type: SystemString
Custom unsubscription page URL

Return Value

Type: String
See Also