LOCALGROUP_MEMBERS_INFO_1

The LOCALGROUP_MEMBERS_INFO_1 structure is used in the NetLocalGroupAddMembers and NetLocalGroupDelMembers functions to identify a member of a local group, and account and security information for the member.

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
Specifies the security identifier of an account that is a member of this local group. The account may be a user account or a global group account.
lgrmi1_sidusage
Specifies the account type of the security identifier specified in the lgrmi1_sid member. The following values are possible.
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
Specifies one account name of the account specified by the lgrmi1_sid member. The account name does not include the domain name.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in lmaccess.h.

See Also

Networking (Net) Overview, Net Structures, LOCALGROUP_MEMBERS_INFO_0, LOCALGROUP_MEMBERS_INFO_2, LOCALGROUP_MEMBERS_INFO_3,
NetLocalGroupAddMembers
, NetLocalGroupDelMembers, NetLocalGroupGetMembers