Compartir a través de


DataSourceDefinition.ImpersonateUser Propiedad

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

Espacio de nombres:  ReportService2010
Ensamblado:  ReportService2010 (en ReportService2010.dll)

Sintaxis

'Declaración
Public Property ImpersonateUser As Boolean 
    Get 
    Set
'Uso
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)

Valor de la propiedad

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

Comentarios

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.

[!NOTA]

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 Omitir valores para objetos de servicio web opcionales.

Vea también

Referencia

DataSourceDefinition Clase

Espacio de nombres ReportService2010