Share via


AuthenticationMode 열거형

정의

웹 애플리케이션에서 사용할 인증 모드를 지정합니다.

public enum class AuthenticationMode
public enum AuthenticationMode
type AuthenticationMode = 
Public Enum AuthenticationMode
상속
AuthenticationMode

필드

Forms 3

ASP.NET Forms 기반 인증을 인증 모드로 지정합니다.

None 0

인증을 지정하지 않고

Passport 2

Microsoft Passport를 인증 모드로 지정합니다.

Windows 1

Windows를 인증 모드로 지정합니다. 기본, 다이제스트, Windows 통합(NTLM/Kerberos) 또는 인증서와 같은 IIS(인터넷 정보 서비스) 인증 메서드를 사용할 때 이 모드를 사용합니다.

예제

다음 코드 예제에서는 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 속성을 프로그래밍 방식으로 웹 애플리케이션을 사용 하는 인증 유형 구성

적용 대상

추가 정보