DataSourceDefinition.ImpersonateUser 属性

Gets or sets a value that indicates whether the report server tries to impersonate a user by using stored credentials.

命名空间:  ReportService2010
程序集:  ReportService2010(在 ReportService2010.dll 中)

public bool ImpersonateUser { get; set; }


true if the report server is set to impersonate a user; otherwise, false. The default is false.

When set to true, a data extension tries to impersonate the user authenticated to the report server at the data source after a connection has been established.


ImpersonateUser is only supported by the SQL Server data extension that is included with Report Server.

When set to false, the report server passes credentials to the data source.

Impersonation may be performed only when CredentialRetrieval is set to Store.

The value for the ImpersonateUser property has a corresponding ImpersonateUserSpecified property that indicates whether this property should be omitted from the Web service call.

For more information about omitting properties, see 省略可选 Web 服务对象的值.