Win32 API 日本語リファレンス
ホームSecurity › SID_NAME_USE

SID_NAME_USE

列挙型
基底型i4

メンバー 11

名前10進16進
SidTypeUser10x1
SidTypeGroup20x2
SidTypeDomain30x3
SidTypeAlias40x4
SidTypeWellKnownGroup50x5
SidTypeDeletedAccount60x6
SidTypeInvalid70x7
SidTypeUnknown80x8
SidTypeComputer90x9
SidTypeLabel100xA
SidTypeLogonSession110xB

各言語での定義

列挙メンバーの定義。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 Enum
import 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* = 11
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,
}
#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