Overview
Group
Quick Info

Windows NT
Yes
Win95
No
Win32s
No
Import Library
-
Header File
lmaccess.h
Unicode
No
Platform Notes
None

GROUP_INFO_2

The GROUP_INFO_2 structure specifies information about a global group, including name, identifier, and resource attributes.

typedef struct _GROUP_INFO_2 {
LPWSTR grpi2_name;
LPWSTR grpi2_comment;
DWORD grpi2_group_id;
DWORD grpi2_attributes;
}GROUP_INFO_2, *PGROUP_INFO_2;

Members

grpi2_name

A Unicode string that specifies the name of the global group. The constant GNLEN specifies the maximum number of characters in the string. For NetGroupSetInfo, this member is ignored.

grpi2_comment

A Unicode string that contains a remark for the group. This element can be a null string. The comment can have as many as MAXCOMMENTSZ characters.

grpi2_group_id

The relative identifier of this account.

grpi2_attributes

The attributes of a group (stored in TOKEN_GROUPS). For Windows NT 4.0, you can no longer set these attributes. They are hardwired to SE_GROUP_MANDATORY, SE_GROUP_ENABLED, SE_GROUP_ENABLED_BY_DEFAULT:

Value
Meaning
SE_GROUP_ENABLED_BY_DEFAULT
Indicates that the group is enabled by default. Use this value to specify the initial state of the group.
SE_GROUP_MANDATORY
Indicates that the user may not disable the group. Disabling a group causes the group membership to be ignored by the access validation routines.
SE_GROUP_OWNER
Indicates that the group can be assigned as the owner of an object.

See Also

NetGroupAdd
, NetGroupEnum, NetGroupGetInfo, NetGroupSetInfo

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database