Gets a paginated list of Notifications

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

Syntax

C#
IDataReader GetNotifications(
	int userId,
	int portalId,
	int afterNotificationId,
	int numberOfRecords
)
Visual Basic
Function GetNotifications ( 
	userId As Integer,
	portalId As Integer,
	afterNotificationId As Integer,
	numberOfRecords As Integer
) As IDataReader

Parameters

userId
Type: System..::..Int32
Id of the user from get the Notifications
portalId
Type: System..::..Int32
Portal Id of the user
afterNotificationId
Type: System..::..Int32
Id of the Notification after which get the list of Notificationss
numberOfRecords
Type: System..::..Int32
Maximum amount of retrieved Notifications

Return Value

DataReader with the retrieved data

See Also