Click or drag to resize
ISubscriberUserProviderUpdateSubscriberForUser Method
Updates given subscriber with personal data provided in the user and connect the subscriber to the user. Subscriber is assigned to the site ID given in siteID.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 9.0.0
Syntax
C#
void UpdateSubscriberForUser(
	SubscriberInfo subscriber,
	UserInfo user,
	int siteID
)

Parameters

subscriber
Type: CMS.NewslettersSubscriberInfo
Subscriber to be updated
user
Type: CMS.MembershipUserInfo
User containing the data that will update the subscriber
siteID
Type: SystemInt32
Site ID the subscriber will be assigned to
Exceptions
ExceptionCondition
ArgumentNullExceptionsubscriber or user is null
See Also