Compartir a través de


Interfaz ITokenDataExtension

Defines support for a data processing extension to use a SharePoint user token to access a SharePoint data source.

Espacio de nombres:  Microsoft.ReportingServices.DataProcessing
Ensamblados:   Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)

Sintaxis

'Declaración
Public Interface ITokenDataExtension
'Uso
Dim instance As ITokenDataExtension
public interface ITokenDataExtension
public interface class ITokenDataExtension
type ITokenDataExtension =  interface end
public interface ITokenDataExtension

El tipo ITokenDataExtension expone los siguientes miembros.

Métodos

  Nombre Descripción
Método público SetUserToken Sets the SharePoint user token. This method is used by the report server to send the SharePoint user token to the data processing extension.

Arriba

Comentarios

The report server sends the SharePoint user's security token to a data processing extension under the following circumstances:

  • The report server is in SharePoint integrated mode.

  • The data processing extension implements the ITokenDataExtension interface.

It is recommended that you configure the unattended execution account on the report server. If the report server cannot obtain a user token, it creates a SharePoint token of its unattended execution account. For more information, see Configurar la cuenta de ejecución desatendida.

The report server will allow the data source to use stored, non-windows credentials. A best practice is to avoid implementing revert-to-self logic because the result may be the Report Server service identity is used when connecting to data sources.

Vea también

Referencia

Espacio de nombres Microsoft.ReportingServices.DataProcessing