Index   Commented   Search   About

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

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun