NET_DISPLAY_GROUP structure (lmaccess.h)

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

Syntax

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

Type: LPWSTR

A pointer to a Unicode string that specifies the name of the group.

grpi3_comment

Type: LPWSTR

A 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

Type: DWORD

The relative identifier (RID) 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. For more information about RIDs, see SID Components.

grpi3_attributes

Type: DWORD

These attributes 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

Type: DWORD

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. Note that you should not use the value of this member for any purpose except to retrieve more data with additional calls to NetQueryDisplayInformation.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header lmaccess.h (include Lm.h)

See also

Get Functions

NetQueryDisplayInformation

NetUserAdd

NetUserSetInfo

Network Management Overview

Network Management Structures

TOKEN_GROUPS