Platform SDK: Network Management

LOCALGROUP_MEMBERS_INFO_2

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

typedef struct _LOCALGROUP_MEMBERS_INFO_2 {
  PSID         lgrmi2_sid;
  SID_NAME_USE lgrmi2_sidusage;
  LPWSTR       lgrmi2_domainandname;
} LOCALGROUP_MEMBERS_INFO_2, *PLOCALGROUP_MEMBERS_INFO_2, *LPLOCALGROUP_MEMBERS_INFO_2;

Members

lgrmi2_sid
Pointer to the security identifier of a local group member. The local group member can be a user account or a global group account.
lgrmi2_sidusage
Specifies the account type associated with the security identifier specified in the lgrmi2_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.

lgrmi2_domainandname
Pointer to the account name of the local group member identified by lgrmi2_sid. The lgrmi2_domainandname member includes the domain name and has the form:
<DomainName>\<AccountName>

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_1, LOCALGROUP_MEMBERS_INFO_3,
NetLocalGroupGetMembers