Share via


Web.GetPushNotificationSubscribersByUser method

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

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

Syntax

'Declaration
Public Function GetPushNotificationSubscribersByUser ( _
    userName As String _
) As PushNotificationSubscriberCollection
'Usage
Dim instance As Web
Dim userName As String
Dim returnValue As PushNotificationSubscriberCollection

returnValue = instance.GetPushNotificationSubscribersByUser(userName)
public PushNotificationSubscriberCollection GetPushNotificationSubscribersByUser(
    string userName
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.PushNotificationSubscriberCollection
Collection of push notification subscribers.

Remarks

It must not be a null reference (Nothing in Visual Basic). It must not be empty.

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace