SPWeb.GetPushNotificationSubscribersByUser method

SharePoint 2013

Queries for the push notification subscribers over the site for the specified user.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

'Declaration
Public Function GetPushNotificationSubscribersByUser ( _
	userName As String _
) As SPPushNotificationSubscriberCollection
'Usage
Dim instance As SPWeb
Dim userName As String
Dim returnValue As SPPushNotificationSubscriberCollection

returnValue = instance.GetPushNotificationSubscribersByUser(userName)

Parameters

userName
Type: System.String

Return value

Type: Microsoft.SharePoint.SPPushNotificationSubscriberCollection
Collection of push notification subscribers.
Show: