SID_NAME_USE
列挙型メンバー 11
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| SidTypeUser | 1 | 0x1 | ユーザーの SID です。 |
| SidTypeGroup | 2 | 0x2 | グループの SID です。 |
| SidTypeDomain | 3 | 0x3 | ドメインの SID です。 |
| SidTypeAlias | 4 | 0x4 | エイリアスの SID です。 |
| SidTypeWellKnownGroup | 5 | 0x5 | well-known グループの SID です。 |
| SidTypeDeletedAccount | 6 | 0x6 | 削除されたアカウントの SID です。 |
| SidTypeInvalid | 7 | 0x7 | 有効でない SID です。 |
| SidTypeUnknown | 8 | 0x8 | 種類が不明な SID です。 |
| SidTypeComputer | 9 | 0x9 | コンピューターの SID です。 |
| SidTypeLabel | 10 | 0xA | 必須整合性ラベルの SID です。 |
| SidTypeLogonSession | 11 | 0xB |
公式ドキュメント
SID_NAME_USE 列挙型には、セキュリティ識別子 (SID) の種類を指定する値が含まれます。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum SID_NAME_USE : int {
SidTypeUser = 1,
SidTypeGroup = 2,
SidTypeDomain = 3,
SidTypeAlias = 4,
SidTypeWellKnownGroup = 5,
SidTypeDeletedAccount = 6,
SidTypeInvalid = 7,
SidTypeUnknown = 8,
SidTypeComputer = 9,
SidTypeLabel = 10,
SidTypeLogonSession = 11
} SID_NAME_USE;public enum SID_NAME_USE : int
{
SidTypeUser = 1,
SidTypeGroup = 2,
SidTypeDomain = 3,
SidTypeAlias = 4,
SidTypeWellKnownGroup = 5,
SidTypeDeletedAccount = 6,
SidTypeInvalid = 7,
SidTypeUnknown = 8,
SidTypeComputer = 9,
SidTypeLabel = 10,
SidTypeLogonSession = 11,
}Public Enum SID_NAME_USE As Integer
SidTypeUser = 1
SidTypeGroup = 2
SidTypeDomain = 3
SidTypeAlias = 4
SidTypeWellKnownGroup = 5
SidTypeDeletedAccount = 6
SidTypeInvalid = 7
SidTypeUnknown = 8
SidTypeComputer = 9
SidTypeLabel = 10
SidTypeLogonSession = 11
End Enumimport enum
class SID_NAME_USE(enum.IntEnum):
SidTypeUser = 1
SidTypeGroup = 2
SidTypeDomain = 3
SidTypeAlias = 4
SidTypeWellKnownGroup = 5
SidTypeDeletedAccount = 6
SidTypeInvalid = 7
SidTypeUnknown = 8
SidTypeComputer = 9
SidTypeLabel = 10
SidTypeLogonSession = 11// SID_NAME_USE
pub const SidTypeUser: i32 = 1;
pub const SidTypeGroup: i32 = 2;
pub const SidTypeDomain: i32 = 3;
pub const SidTypeAlias: i32 = 4;
pub const SidTypeWellKnownGroup: i32 = 5;
pub const SidTypeDeletedAccount: i32 = 6;
pub const SidTypeInvalid: i32 = 7;
pub const SidTypeUnknown: i32 = 8;
pub const SidTypeComputer: i32 = 9;
pub const SidTypeLabel: i32 = 10;
pub const SidTypeLogonSession: i32 = 11;// SID_NAME_USE
const (
SidTypeUser int32 = 1
SidTypeGroup int32 = 2
SidTypeDomain int32 = 3
SidTypeAlias int32 = 4
SidTypeWellKnownGroup int32 = 5
SidTypeDeletedAccount int32 = 6
SidTypeInvalid int32 = 7
SidTypeUnknown int32 = 8
SidTypeComputer int32 = 9
SidTypeLabel int32 = 10
SidTypeLogonSession int32 = 11
)const
SidTypeUser = 1;
SidTypeGroup = 2;
SidTypeDomain = 3;
SidTypeAlias = 4;
SidTypeWellKnownGroup = 5;
SidTypeDeletedAccount = 6;
SidTypeInvalid = 7;
SidTypeUnknown = 8;
SidTypeComputer = 9;
SidTypeLabel = 10;
SidTypeLogonSession = 11;// SID_NAME_USE
pub const SidTypeUser: i32 = 1;
pub const SidTypeGroup: i32 = 2;
pub const SidTypeDomain: i32 = 3;
pub const SidTypeAlias: i32 = 4;
pub const SidTypeWellKnownGroup: i32 = 5;
pub const SidTypeDeletedAccount: i32 = 6;
pub const SidTypeInvalid: i32 = 7;
pub const SidTypeUnknown: i32 = 8;
pub const SidTypeComputer: i32 = 9;
pub const SidTypeLabel: i32 = 10;
pub const SidTypeLogonSession: i32 = 11;const
SidTypeUser* = 1
SidTypeGroup* = 2
SidTypeDomain* = 3
SidTypeAlias* = 4
SidTypeWellKnownGroup* = 5
SidTypeDeletedAccount* = 6
SidTypeInvalid* = 7
SidTypeUnknown* = 8
SidTypeComputer* = 9
SidTypeLabel* = 10
SidTypeLogonSession* = 11enum SID_NAME_USE : int {
SidTypeUser = 1,
SidTypeGroup = 2,
SidTypeDomain = 3,
SidTypeAlias = 4,
SidTypeWellKnownGroup = 5,
SidTypeDeletedAccount = 6,
SidTypeInvalid = 7,
SidTypeUnknown = 8,
SidTypeComputer = 9,
SidTypeLabel = 10,
SidTypeLogonSession = 11,
}#define global SidTypeUser 0x1
#define global SidTypeGroup 0x2
#define global SidTypeDomain 0x3
#define global SidTypeAlias 0x4
#define global SidTypeWellKnownGroup 0x5
#define global SidTypeDeletedAccount 0x6
#define global SidTypeInvalid 0x7
#define global SidTypeUnknown 0x8
#define global SidTypeComputer 0x9
#define global SidTypeLabel 0xA
#define global SidTypeLogonSession 0xB