IdentitySection.Impersonate 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
각 요청에서 클라이언트 가장이 사용되는지 여부를 나타내는 값을 가져오거나 설정합니다.
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되면 애플리케이션은 클라이언트 사용자를 가장하지 않습니다.