AuthenticationMode 열거형
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
웹 애플리케이션에서 사용할 인증 모드를 지정합니다.
public enum class AuthenticationMode
public enum AuthenticationMode
type AuthenticationMode =
Public Enum AuthenticationMode
- 상속
필드
| Name | 값 | Description |
|---|---|---|
| None | 0 | 인증을 지정하지 않습니다. |
| Windows | 1 | Windows를 인증 모드로 지정합니다. 이 모드는 IIS(인터넷 정보 서비스) 인증 방법인 Basic, Digest, Integrated Windows(NTLM/Kerberos) 또는 인증서를 사용할 때 적용됩니다. |
| Passport | 2 | Microsoft Passport를 인증 모드로 지정합니다. |
| Forms | 3 | ASP.NET Forms 기반 인증을 인증 모드로 지정합니다. |
예제
다음 코드 예제에서는 속성에 액세스 하는 방법을 보여 있습니다 Mode .
// Get the current Mode property.
AuthenticationMode currentMode =
authenticationSection.Mode;
// Set the Mode property to Windows.
authenticationSection.Mode =
AuthenticationMode.Windows;
' Get the current Mode property.
Dim currentMode As AuthenticationMode = _
authenticationSection.Mode
' Set the Mode property to Windows.
authenticationSection.Mode = _
AuthenticationMode.Windows
설명
Mode 이 속성을 사용하여 웹 애플리케이션에서 사용하는 인증 유형을 프로그래밍 방식으로 구성합니다.