GROUP_INFO_3 structure

The GROUP_INFO_3 structure contains information about a global group, including name, security identifier (SID), and resource attributes.

Syntax

typedef struct _GROUP_INFO_3 {
  LPWSTR grpi3_name;
  LPWSTR grpi3_comment;
  PSID   grpi3_group_sid;
  DWORD  grpi3_attributes;
} GROUP_INFO_3, *PGROUP_INFO_3;

Members

grpi3_name

Pointer to a null-terminated Unicode character string that specifies the name of the global group.

When you call the NetGroupSetInfo function this member is ignored.

grpi3_comment

Pointer to a null-terminated Unicode character string that contains a remark associated with the global group. This member can be a null string. The comment can contain MAXCOMMENTSZ characters.

grpi3_group_sid

Pointer to a SID structure that contains the security identifier (SID) that uniquely identifies the global group. The NetUserAdd and NetUserSetInfo functions ignore this member.

grpi3_attributes

These attributes are hard-coded to SE_GROUP_MANDATORY, SE_GROUP_ENABLED, and SE_GROUP_ENABLED_BY_DEFAULT. For more information, see TOKEN_GROUPS.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header lmaccess.h (include Lm.h)

See also

Group Functions

NetGroupAdd

NetGroupEnum

NetGroupGetInfo

NetGroupSetInfo

Network Management Overview

Network Management Structures

SID

TOKEN_GROUPS