Impersonate Property (SQL-DMO)

The Impersonate property specifies Microsoft® Windows NT® login credential use for connections attempted by the referenced OLE DB data source user.

Applies To

LinkedServerLogin Object

Syntax

object.Impersonate [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

Remarks

If True, 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.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetImpersonate(LPBOOL pRetVal);

HRESULT SetImpersonate(BOOL NewValue);

See Also
RemotePassword Property RemoteUser Property

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.