Impersonate Property
The Impersonate property specifies 4.0 or Microsoft® Windows 2000 login credential use for connections attempted by the referenced OLE DB data source user.
Applies To
LinkedServerLogin Object |
Syntax
object.Impersonate [= value]
Parts
object
Expression that evaluates to an object in the Applies To list
value
TRUE or FALSE
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetImpersonate(LPBOOL pRetVal);
HRESULT SetImpersonate(BOOL NewValue);
Remarks
If TRUE, Microsoft SQL Server authenticated logins use their own credentials to connect to the referenced OLE DB data source. TRUE is invalid for a Windows NT authenticated login unless the Windows NT environment supports security account delegation and the provider supports Windows NT Authentication.
If FALSE, a connection attempt uses a specified username and password.