Win32 API 日本語リファレンス
ホームSecurity.Authentication.Identity › SECURITY_LOGON_TYPE

SECURITY_LOGON_TYPE

列挙型
基底型i4

メンバー 13

名前10進16進説明
UndefinedLogonType00x0
Interactive20x2セキュリティプリンシパルが対話的にログオンしています。
Network30x3セキュリティプリンシパルがネットワークを使用してログオンしています。
Batch40x4バッチプロセスに対するログオンです。
Service50x5サービスアカウントに対するログオンです。
Proxy60x6サポートされていません。
Unlock70x7ワークステーションのロックを解除しようとするログオンです。
NetworkCleartext80x8プレーンテキストの資格情報を使用したネットワークログオンです。
NewCredentials90x9呼び出し元が現在のトークンを複製し、送信接続用に新しい資格情報を指定できるようにします。新しいログオンセッションはローカル ID は同じですが、他のネットワーク接続には異なる資格情報を使用します。
RemoteInteractive100xAリモートかつ対話的なターミナルサーバーセッションです。
CachedInteractive110xBネットワークを経由せずに、キャッシュされた資格情報の使用を試みます。
CachedRemoteInteractive120xCRemoteInteractive と同じですが、監査目的で内部的に使用されます。
CachedUnlock130xDワークステーションのロックを解除しようとするログオンです。

公式ドキュメント

SECURITY_LOGON_TYPE 列挙型は、ログオンプロセスによって要求されたログオンの種類を示します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum SECURITY_LOGON_TYPE : int {
    UndefinedLogonType = 0,
    Interactive = 2,
    Network = 3,
    Batch = 4,
    Service = 5,
    Proxy = 6,
    Unlock = 7,
    NetworkCleartext = 8,
    NewCredentials = 9,
    RemoteInteractive = 10,
    CachedInteractive = 11,
    CachedRemoteInteractive = 12,
    CachedUnlock = 13
} SECURITY_LOGON_TYPE;
public enum SECURITY_LOGON_TYPE : int
{
    UndefinedLogonType = 0,
    Interactive = 2,
    Network = 3,
    Batch = 4,
    Service = 5,
    Proxy = 6,
    Unlock = 7,
    NetworkCleartext = 8,
    NewCredentials = 9,
    RemoteInteractive = 10,
    CachedInteractive = 11,
    CachedRemoteInteractive = 12,
    CachedUnlock = 13,
}
Public Enum SECURITY_LOGON_TYPE As Integer
    UndefinedLogonType = 0
    Interactive = 2
    Network = 3
    Batch = 4
    Service = 5
    Proxy = 6
    Unlock = 7
    NetworkCleartext = 8
    NewCredentials = 9
    RemoteInteractive = 10
    CachedInteractive = 11
    CachedRemoteInteractive = 12
    CachedUnlock = 13
End Enum
import enum

class SECURITY_LOGON_TYPE(enum.IntEnum):
    UndefinedLogonType = 0
    Interactive = 2
    Network = 3
    Batch = 4
    Service = 5
    Proxy = 6
    Unlock = 7
    NetworkCleartext = 8
    NewCredentials = 9
    RemoteInteractive = 10
    CachedInteractive = 11
    CachedRemoteInteractive = 12
    CachedUnlock = 13
// SECURITY_LOGON_TYPE
pub const UndefinedLogonType: i32 = 0;
pub const Interactive: i32 = 2;
pub const Network: i32 = 3;
pub const Batch: i32 = 4;
pub const Service: i32 = 5;
pub const Proxy: i32 = 6;
pub const Unlock: i32 = 7;
pub const NetworkCleartext: i32 = 8;
pub const NewCredentials: i32 = 9;
pub const RemoteInteractive: i32 = 10;
pub const CachedInteractive: i32 = 11;
pub const CachedRemoteInteractive: i32 = 12;
pub const CachedUnlock: i32 = 13;
// SECURITY_LOGON_TYPE
const (
	UndefinedLogonType int32 = 0
	Interactive int32 = 2
	Network int32 = 3
	Batch int32 = 4
	Service int32 = 5
	Proxy int32 = 6
	Unlock int32 = 7
	NetworkCleartext int32 = 8
	NewCredentials int32 = 9
	RemoteInteractive int32 = 10
	CachedInteractive int32 = 11
	CachedRemoteInteractive int32 = 12
	CachedUnlock int32 = 13
)
const
  UndefinedLogonType = 0;
  Interactive = 2;
  Network = 3;
  Batch = 4;
  Service = 5;
  Proxy = 6;
  Unlock = 7;
  NetworkCleartext = 8;
  NewCredentials = 9;
  RemoteInteractive = 10;
  CachedInteractive = 11;
  CachedRemoteInteractive = 12;
  CachedUnlock = 13;
// SECURITY_LOGON_TYPE
pub const UndefinedLogonType: i32 = 0;
pub const Interactive: i32 = 2;
pub const Network: i32 = 3;
pub const Batch: i32 = 4;
pub const Service: i32 = 5;
pub const Proxy: i32 = 6;
pub const Unlock: i32 = 7;
pub const NetworkCleartext: i32 = 8;
pub const NewCredentials: i32 = 9;
pub const RemoteInteractive: i32 = 10;
pub const CachedInteractive: i32 = 11;
pub const CachedRemoteInteractive: i32 = 12;
pub const CachedUnlock: i32 = 13;
const
  UndefinedLogonType* = 0
  Interactive* = 2
  Network* = 3
  Batch* = 4
  Service* = 5
  Proxy* = 6
  Unlock* = 7
  NetworkCleartext* = 8
  NewCredentials* = 9
  RemoteInteractive* = 10
  CachedInteractive* = 11
  CachedRemoteInteractive* = 12
  CachedUnlock* = 13
enum SECURITY_LOGON_TYPE : int {
    UndefinedLogonType = 0,
    Interactive = 2,
    Network = 3,
    Batch = 4,
    Service = 5,
    Proxy = 6,
    Unlock = 7,
    NetworkCleartext = 8,
    NewCredentials = 9,
    RemoteInteractive = 10,
    CachedInteractive = 11,
    CachedRemoteInteractive = 12,
    CachedUnlock = 13,
}
#define global UndefinedLogonType      0x0
#define global Interactive             0x2
#define global Network                 0x3
#define global Batch                   0x4
#define global Service                 0x5
#define global Proxy                   0x6
#define global Unlock                  0x7
#define global NetworkCleartext        0x8
#define global NewCredentials          0x9
#define global RemoteInteractive       0xA
#define global CachedInteractive       0xB
#define global CachedRemoteInteractive 0xC
#define global CachedUnlock            0xD