| gaLOGON_ID = &HC0000000 | -1 073 741 824 | The group is a logon identifier. |
| gaMANDATORY = &H1 | 1 | Indicates that the user may not disable the group. Disabling a group causes the group membership to be ignored by the access validation routines. |
| gaENABLED_BY_DEFAULT = &H2 | 2 | Indicates that the group is enabled by default. Use this value to specify the initial state of the group. |
| gaENABLED = &H4 | 4 | The group is enabled. |
| ga_DEFAULT = &H7 | 7 | |
| gaOWNER = &H8 | 8 | The user is the owner of the group or the SID can be assigned as the owner of the token or objects. |
'GroupAttributes - begin Public Const gaLOGON_ID = &HC0000000 'The group is a logon identifier. Public Const gaMANDATORY = &H1 'Indicates that the user may not disable the group. Disabling a group causes the group membership to be ignored by the access validation routines. Public Const gaENABLED_BY_DEFAULT = &H2 'Indicates that the group is enabled by default. Use this value to specify the initial state of the group. Public Const gaENABLED = &H4 'The group is enabled. Public Const ga_DEFAULT = &H7 Public Const gaOWNER = &H8 'The user is the owner of the group or the SID can be assigned as the owner of the token or objects. 'GroupAttributes - end
'GroupAttributes - begin Public Const gaLOGON_ID As Long = &HC0000000 'The group is a logon identifier. Public Const gaMANDATORY As Long = &H1 'Indicates that the user may not disable the group. Disabling a group causes the group membership to be ignored by the access validation routines. Public Const gaENABLED_BY_DEFAULT As Long = &H2 'Indicates that the group is enabled by default. Use this value to specify the initial state of the group. Public Const gaENABLED As Long = &H4 'The group is enabled. Public Const ga_DEFAULT As Long = &H7 Public Const gaOWNER As Long = &H8 'The user is the owner of the group or the SID can be assigned as the owner of the token or objects. 'GroupAttributes - end
Public Enum GroupAttributes gaLOGON_ID = &HC0000000 'The group is a logon identifier. gaMANDATORY = &H1 'Indicates that the user may not disable the group. Disabling a group causes the group membership to be ignored by the access validation routines. gaENABLED_BY_DEFAULT = &H2 'Indicates that the group is enabled by default. Use this value to specify the initial state of the group. gaENABLED = &H4 'The group is enabled. ga_DEFAULT = &H7 gaOWNER = &H8 'The user is the owner of the group or the SID can be assigned as the owner of the token or objects. End Enum 'GroupAttributes
//GroupAttributes - begin var gaLOGON_ID = 0xC0000000; //The group is a logon identifier. var gaMANDATORY = 0x1; //Indicates that the user may not disable the group. Disabling a group causes the group membership to be ignored by the access validation routines. var gaENABLED_BY_DEFAULT = 0x2; //Indicates that the group is enabled by default. Use this value to specify the initial state of the group. var gaENABLED = 0x4; //The group is enabled. var ga_DEFAULT = 0x7; var gaOWNER = 0x8; //The user is the owner of the group or the SID can be assigned as the owner of the token or objects. //GroupAttributes - end
// GroupAttributes
typedef [helpcontext(0x2000F), helpstring("The list of attributes of a group")]
enum GroupAttributes{
[helpcontext(0x2000F), helpstring("The group is a logon identifier.")]
gaLOGON_ID = 0xC0000000,
[helpcontext(0x2000F), helpstring("Indicates that the user may not disable the group. Disabling a group causes the group membership to be ignored by the access validation routines.")]
gaMANDATORY = 0x1,
[helpcontext(0x2000F), helpstring("Indicates that the group is enabled by default. Use this value to specify the initial state of the group.")]
gaENABLED_BY_DEFAULT = 0x2,
[helpcontext(0x2000F), helpstring("The group is enabled.")]
gaENABLED = 0x4,
[helpcontext(0x2000F)]
ga_DEFAULT = 0x7,
[helpcontext(0x2000F), helpstring("The user is the owner of the group or the SID can be assigned as the owner of the token or objects.")]
gaOWNER = 0x8
} GroupAttributes;