ImpersonationMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |