Platform SDK: Network Management

LOCALGROUP_MEMBERS_INFO_1

The LOCALGROUP_MEMBERS_INFO_1 structure contains the security identifier (SID) and account information associated with the member of a local group.

typedef struct _LOCALGROUP_MEMBERS_INFO_1 {
  PSID         lgrmi1_sid;
  SID_NAME_USE lgrmi1_sidusage;
  LPWSTR       lgrmi1_name;
} LOCALGROUP_MEMBERS_INFO_1, *PLOCALGROUP_MEMBERS_INFO_1, *LPLOCALGROUP_MEMBERS_INFO_1;

Members

lgrmi1_sid
Pointer to the security identifier of an account that is a member of this local group member. The account can be a user account or a global group account.
lgrmi1_sidusage
Specifies the account type associated with the security identifier specified in the lgrmi1_sid member. The following values are valid.
Value Meaning
SidTypeUser The account is a user account.
SidTypeGroup The account is a global group account.
SidTypeWellKnownGroup The account is a well-known group account (such as Everyone).
SidTypeDeletedAccount The account has been deleted.
SidTypeUnknown The account type cannot be determined.

lgrmi1_name
Pointer to the account name of the local group member identified by lgrmi1_sid. The lgrmi1_name member does not include the domain name.

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, Local Group Functions, LOCALGROUP_MEMBERS_INFO_0, LOCALGROUP_MEMBERS_INFO_2, LOCALGROUP_MEMBERS_INFO_3,
NetLocalGroupGetMembers