ForumSubscriptionInfoProviderUnsubscribe Method |
Unsubscribes user from forum or forum post.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 10.0.0
Syntax public static OptInApprovalResultEnum Unsubscribe(
string subscriptionHash,
bool sendConfirmationEmail,
string siteName,
DateTime datetime
)
Parameters
- subscriptionHash
- Type: SystemString
Subscription hash. - sendConfirmationEmail
- Type: SystemBoolean
Indicates whether send confirmation e-mail - siteName
- Type: SystemString
Site name. - datetime
- Type: SystemDateTime
Date and time of request
Return Value
Type:
OptInApprovalResultEnumSee Also