Platform SDK: Network Management

NET_DISPLAY_GROUP

The NET_DISPLAY_GROUP structure contains information that an account manager can access to determine information about group accounts.

typedef struct _NET_DISPLAY_GROUP {
  LPWSTR   grpi3_name;
  LPWSTR   grpi3_comment;
  DWORD    grpi3_group_id;
  DWORD    grpi3_attributes;
  DWORD    grpi3_next_index;
} NET_DISPLAY_GROUP, *PNET_DISPLAY_GROUP;

Members

grpi3_name
Pointer to a Unicode string that specifies the name of the group.
grpi3_comment
Pointer to a Unicode string that contains a comment associated with the group. This string can be a null string, or it can have any number of characters before the terminating null character.
grpi3_group_id
Specifies a DWORD value that contains the relative identifier of the group. The relative identifier is determined by the accounts database when the group is created. It uniquely identifies the group to the account manager within the domain. The NetUserAdd and NetUserSetInfo functions ignore this member.
grpi3_attributes
Lists the attributes of the defined group.

Windows NT/2000: On Windows NT 4.0 and Windows 2000, you can no longer set these attributes. They are hard-coded to SE_GROUP_MANDATORY, SE_GROUP_ENABLED, and SE_GROUP_ENABLED_BY_DEFAULT. For more information, see TOKEN_GROUPS.

grpi3_next_index
Specifies the index of the last entry returned by the NetQueryDisplayInformation function. Pass this value as the Index parameter to NetQueryDisplayInformation to return the next logical entry.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Unsupported.
  Header: Declared in Lmaccess.h.

See Also

Network Management Overview, Network Management Structures, Get Functions, NetUserAdd, NetUserSetInfo, NetQueryDisplayInformation, TOKEN_GROUPS