Export (0) Print
Expand All
Expand Minimize

ReportingService2010.ListMySubscriptions Method

Retrieves a list of subscriptions that have been created by the current user of the report server or SharePoint site for the given catalog item.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

public function ListMySubscriptions(
	ItemPathOrSiteURL : String
) : Subscription[]

Parameters

ItemPathOrSiteURL
Type: System.String
The fully qualified URL of the site or item including the file name and, in SharePoint mode, the extension.
If a report server URL or SharePoint site URL is specified, all subscriptions of the current user at the given server or site is returned.

Return Value

Type: ReportService2010.Subscription[]
An array of Subscription objects that contain all the subscriptions for the current user of the report server or SharePoint site for the given catalog item.

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

None

SharePoint Mode Required Permissions

None

In native mode, if ItemPathOrSiteURL is a folder, this method returns all subscriptions owned by the user for reports under that path to which user has the following permissions: ReadAnySubscription OR ((ReadSubscription AND the user is the subscription owner and the subscription is a timed subscription). If ItemPathOrSiteURL is a report, then this method returns all subscriptions owned by the user that satisfy the same set of permissions requirements for that report.

In SharePoint integrated mode, if ItemPathOrSiteURL is a site or a folder, this method returns all subscriptions owned by the user for reports under that path to which user has the following permissions: ManageAlerts() OR (CreateAlerts() AND the user is the subscription owner and the subscription is a timed subscription). If ItemPathOrSiteURL is a report, then this method returns all subscriptions owned by the user that satisfy the same set of permissions requirements for that report.

If no subscriptions are found for the given site, an empty Subscription array is returned.

No code example is currently available or this language may not be supported.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft