다음을 통해 공유


AuthenticationMode 열거형

정의

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

public enum class AuthenticationMode
public enum AuthenticationMode
type AuthenticationMode = 
Public Enum AuthenticationMode
상속
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 이 속성을 사용하여 웹 애플리케이션에서 사용하는 인증 유형을 프로그래밍 방식으로 구성합니다.

적용 대상

추가 정보