Click or drag to resize
SubscriberNewsletterInfoProviderSetApprovalStatus Method
Set status of subscriber approval.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax
C#
public static void SetApprovalStatus(
	int subscriberID,
	int newsletterID,
	bool status
)

Parameters

subscriberID
Type: SystemInt32
Subscriber ID
newsletterID
Type: SystemInt32
Newsletter ID
status
Type: SystemBoolean
Status of subscriber
Exceptions
ExceptionCondition
ArgumentExceptionNo subscriber was found for provided subscriberID and newsletterID
See Also