AuthenticationMode 列挙体
アセンブリ: Microsoft.VisualBasic (microsoft.visualbasic.dll 内)
構文Public Enumeration AuthenticationMode
メンバ| メンバ名 | 説明 | |
|---|---|---|
| ApplicationDefined | WindowsFormsApplicationBase コンストラクタは、アプリケーションのメイン スレッドのプリンシパルを初期化しません。アプリケーションからメイン スレッドのプリンシパルを初期化する必要があります。 | |
| Windows | WindowsFormsApplicationBase コンストラクタは、現在のユーザーの Windows ユーザー情報を使って、アプリケーションのメイン スレッドのプリンシパルを初期化します。 |
解説アプリケーションの認証モードは、この列挙値のいずれかを WindowsFormsApplicationBase コンストラクタに渡すことによって設定できます。詳細については、「Visual Basic アプリケーション モデルの拡張」を参照してください。
Visual Basic アプリケーション モデルを使用した Visual Basic アプリケーションの場合、Windows 認証またはカスタム認証を指定できます。また、Visual Studio の統合開発環境で認証モードを設定することもできます。詳細については、「方法 : カスタムのユーザー認証を有効にする」を参照してください。
プラットフォームWindows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照AuthenticationMode 列挙体
アセンブリ: System.Web (system.web.dll 内)
構文Public Enumeration AuthenticationMode
メンバ| メンバ名 | 説明 | |
|---|---|---|
| Forms | 認証モードとして ASP.NET フォーム ベースの認証を指定します。 | |
| None | 認証を指定しません。 | |
| Passport | 認証モードとして Microsoft Passport を指定します。 | |
| Windows | 認証モードとして Windows を指定します。このモードは、基本認証、ダイジェスト認証、統合 Windows 認証 (NTLM および Kerberos)、証明書などのインターネット インフォメーション サービス (IIS: Internet Information Services) 認証方式を使用する場合に指定します。 |
解説
使用例
プラットフォームWindows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照- AuthenticationMode 列挙体のページへのリンク