Approves existing subscription - sets SubscriptionApproved to true and SubscriptionApprovedWhen to current time.
Checks if subscription wasn't already approved. Confirmation e-mail may be sent optionally.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- fsi
- Type: CMS.Forums ForumSubscriptionInfo
Forum subscription object
- subscriptionHash
- Type: System String
Hash parameter representing specific subscription
- sendConfirmationEmail
- Type: System Boolean
Indicates if confirmation e-mail should be sent. Confirmation e-mail may also be sent if newsletter settings requires so
- siteName
- Type: System String
Site name.
- datetime
- Type: System DateTime
Date and time of request.
Return Value
Type: OptInApprovalResultEnumReturns TRUE if subscription found and not already approved. Returns FALSE if subscription not found or already approved.
See Also