Share via


ImpersonateClient Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The ImpersonateClient property exposes the security context for non-administrative users running xp_cmdshell.

구문

object
.ImpersonateClient [=value]

Parts

  • object
    An 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 GetImpersonateClient(LPBOOL pRetVal);
HRESULT SetImpersonateClient(BOOL NewValue);

주의

xp_cmdshell, a Microsoft SQL Server system stored procedure, executes an operating system command, returning any results of command execution as text.

If TRUE, xp_cmdshell runs in the security context of the client connection.

If FALSE, xp_cmdshell runs in the security context of SQL Server Agent. The default is FALSE.

Applies To:

IntegratedSecurity Object