please dont rip this site Prev Next

GROUP_INFO_2 info  Overview  Group

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


file: /Techref/os/win/api/win32/struc/src/str08_21.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/11/12 11:56,
TOP NEW HELP FIND: 
3.133.134.123:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/techref/os/win/api/win32/struc/src/str08_21.htm"> GROUP_INFO_2</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?