다음을 통해 공유


IdentitySection.Impersonate 속성

정의

각 요청에서 클라이언트 가장이 사용되는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool Impersonate { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("impersonate", DefaultValue=false)]
public bool Impersonate { get; set; }
[<System.Configuration.ConfigurationProperty("impersonate", DefaultValue=false)>]
member this.Impersonate : bool with get, set
Public Property Impersonate As Boolean

속성 값

true클라이언트 가장이 사용되면 이고, 그렇지 않으면 . false 기본값은 false입니다.

특성

예제

다음 코드 예제에서는 속성에 액세스 하는 방법을 보여 있습니다 Impersonate . 섹션에 액세스하는 방법을 알아보려면 클래스의 IdentitySection 코드 예제를 참조하세요.

// Get the Impersonate property value.
bool currentImpersonate = identitySection.Impersonate;

// Set the Impersonate property to true.
identitySection.Impersonate = true;
' Get the Impersonate property value.
Dim currentImpersonate As Boolean = identitySection.Impersonate

' Set the Impersonate property to true.
identitySection.Impersonate = True

설명

속성이 Impersonate 설정된 true경우 각 요청은 클라이언트를 가장하는 웹 애플리케이션에서 제공됩니다. 즉, 현재 로그온한 사용자 또는 속성에서 Password 지정한 UserName 사용자입니다. 속성이 Impersonate 설정 false되면 애플리케이션은 클라이언트 사용자를 가장하지 않습니다.

메모

보안상의 이유로 ID 섹션은 암호화된 스토리지 및 Password.의 스토리지를 UserName 지원합니다.

적용 대상

추가 정보