ImpersonationMode Enumeration

 

Applies To: SQL Server (starting with 2016)

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).

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)

public enum ImpersonationMode

Member nameDescription
Default

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

ImpersonateAccount

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

ImpersonateAnonymous

Currently not supported.

ImpersonateCurrentUser

The current user is impersonated.

ImpersonateServiceAccount

The credentials of the service account are used.

ImpersonateUnattendedAccount

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

Return to top
Show: