SPWeb.GetPushNotificationSubscribersByUser method
Queries for the push notification subscribers over the site for the specified user.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'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)
public SPPushNotificationSubscriberCollection GetPushNotificationSubscribersByUser(
string userName
)
Parameters
- userName
Type: System.String
Return value
Type: Microsoft.SharePoint.SPPushNotificationSubscriberCollection
Collection of push notification subscribers.