Counts the notifications sent to the provided user in the specified portal.
Namespace: DotNetNuke.Services.Social.NotificationsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
int CountNotifications( int userId, int portalId ) |
Visual Basic |
---|
Function CountNotifications ( userId As Integer, portalId As Integer ) As Integer |
Parameters
- userId
- Type: System..::..Int32
The user identifier.
- portalId
- Type: System..::..Int32
The portal identifier.