Web.GetPushNotificationSubscribersByUser method

SharePoint Online

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)

public PushNotificationSubscriberCollection GetPushNotificationSubscribersByUser(
	string userName
)

Parameters

userName
Type: System.String

Login name of the user.

Return value

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

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

Show: