Deletes all the Notifications of a user

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

Syntax

C#
int DeleteUserNotifications(
	int portalID,
	int userID
)
Visual Basic
Function DeleteUserNotifications ( 
	portalID As Integer,
	userID As Integer
) As Integer

Parameters

portalID
Type: System..::..Int32
Portal Id of the user
userID
Type: System..::..Int32
User from who delete all the Notifications

Return Value

Amount of deleted Notifications

See Also