Share via


ImpersonationMode Enum

Definition

Determines how credentials are obtained for an impersonated connection to a data source during data import or refresh.

public enum ImpersonationMode
type ImpersonationMode = 
Public Enum ImpersonationMode
Inheritance
ImpersonationMode

Fields

Name Value Description
Default 1

Uses the inherited value from the ImpersonationMode on the DataSourceImpersonationInfo object in the database.

ImpersonateAccount 2

A Windows user account having read permissions on the external data source.

ImpersonateAnonymous 3

Not supported.

ImpersonateCurrentUser 4

Not supported for tabular model databases attached to an Analysis Services instance.

ImpersonateServiceAccount 5

Startup account of the Analysis Services instance. This account must have read permissions on a data source to enable data refresh.

ImpersonateUnattendedAccount 6

Do not reference this member directly in your code. It supports the Analysis Services infrastructure.

Applies to