Exporter (0) Imprimer
Développer tout
Développer Réduire
Ce sujet n'a pas encore été évalué - Évaluez ce sujet

Méthode ReportingService2010.ChangeSubscriptionOwner

Changes the owner of a subscription.

Espace de noms :  ReportService2010
Assembly :  ReportService2010 (en ReportService2010.dll)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ChangeSubscriptionOwner", RequestNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	ResponseNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void ChangeSubscriptionOwner(
	string SubscriptionID,
	string NewOwner
)

Paramètres

SubscriptionID
Type : System.String
The subscription ID.
NewOwner
Type : System.String
The user ID, as defined by the authorization extension.

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

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

The user must be a member of the BUILTIN\Administrators group

SharePoint Mode Required Permissions

ManageWeb

This method changes the Owner property of the subscription identified by SubscriptionID to the value of newOwner. The subscription will then execute in the security context of the new owner, and the User!UserID field in the report will display the value of newOwner.

RemarqueRemarque

This method can be used by a malicious user to try to gain additional data access rights. To help diagnose such incidences, whenever this method is invoked, the details of the operation are recorded in the trace log.

Cela vous a-t-il été utile ?
(1500 caractères restants)
Merci pour vos suggestions.

Ajouts de la communauté

AJOUTER
Afficher:
© 2014 Microsoft. Tous droits réservés.