Deletes an individual notification recipient based on NotificationTypeId, Context and UserId.

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

Syntax

C#
void DeleteNotificationRecipient(
	int notificationTypeId,
	string context,
	int userId
)
Visual Basic
Sub DeleteNotificationRecipient ( 
	notificationTypeId As Integer,
	context As String,
	userId As Integer
)

Parameters

notificationTypeId
Type: System..::..Int32
Id of the notification type
context
Type: System..::..String
Context set by creator of the notification.
userId
Type: System..::..Int32
The user identifier.

Remarks

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

See Also