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

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
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