Deletes an individual notification recipient.

Namespace: DotNetNuke.Services.Social.Notifications
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
void DeleteNotificationRecipient(
	int notificationId,
	int userId
)
Visual Basic
Sub DeleteNotificationRecipient ( 
	notificationId As Integer,
	userId As Integer
)

Parameters

notificationId
Type: System..::..Int32
The notification identifier.
userId
Type: System..::..Int32
The user identifier.

Remarks

It also deletes the notification if there are no more recipients.

See Also