Поделиться через


Свойство ImpersonateUser

Indicates whether the report server attempts to impersonate a user by using stored credentials after a data processing extension has established an authenticated connection to a data source.

Пространство имен:  ReportService2005
Сборка:  ReportService2005 (в ReportService2005.dll)

Синтаксис

'Декларация
Public Property ImpersonateUser As Boolean
    Get
    Set
'Применение
Dim instance As DataSourceDefinition
Dim value As Boolean

value = instance.ImpersonateUser

instance.ImpersonateUser = value
public bool ImpersonateUser { get; set; }
public:
property bool ImpersonateUser {
    bool get ();
    void set (bool value);
}
member ImpersonateUser : bool with get, set
function get ImpersonateUser () : boolean
function set ImpersonateUser (value : boolean)

Значение свойства

Тип System. . :: . .Boolean
A Boolean value.

Замечания

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

ПримечаниеПримечание

ImpersonateUser is only support by the SQL Server data extension that ships with Report Server.

When set to false, the Report Server passes credentials to the data source.

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