GROUP_USERS_INFO_1  XAI0Y7 

The GROUP_USERS_INFO_1 structure specifies information about the user of a group, and resource attributes.

typedef struct _GROUP_USERS_INFO_1 { 
     LPWSTR  grui1_name;
     DWORD   grui1_attributes;
} GROUP_USERS_INFO_1, *PGROUP_USERS_INFO_1, *LPGROUP_USERS_INFO_1;
 

Members

grui1_name

A Unicode string that specifies the group to which a user belongs. The constant GNLEN specifies the maximum number of characters in the string.

grui1_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

NetGroupGetUsers, NetGroupSetUsers, NetUserGetGroups, NetUserGetInfo, NetUserSetGroups