ImpersonationMode Enum

Definition

Defines the access mode to the data source that the service uses when it processes its objects, synchronizes the server, and for the Data Mining statement OPENQUERY (DMX).

public enum ImpersonationMode
type ImpersonationMode = 
Public Enum ImpersonationMode
Inheritance
ImpersonationMode

Fields

Name Value Description
Default 0

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

ImpersonateServiceAccount 1

The credentials of the service account are used.

ImpersonateAnonymous 2

Currently not supported.

ImpersonateCurrentUser 3

The current user is impersonated.

ImpersonateAccount 4

This option is used when the service uses the account and (optionally) a password associated with the data source.

ImpersonateUnattendedAccount 5

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

Applies to