Click or drag to resize
ForumSubscriptionInfoProvider.GetUnsubscriptionUrl Method
Returns unsubscription URL which is used to cancel existing subscription

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

Parameters

subscription
Type: CMS.Forums.ForumSubscriptionInfo
Forum subscription object
forum
Type: CMS.Forums.ForumInfo
Forum object
forumPost
Type: CMS.Forums.ForumPostInfo
Forum post to which user was subscribed
unsubscriptionUrl
Type: System.String
Custom unsubscription page URL

Return Value

Type: String
See Also