LOCALGROUP_MEMBERS_INFO_2
The LOCALGROUP_MEMBERS_INFO_2
structure is used in the NetLocalGroupAddMembers
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
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.
Lgrmi2_sidusage
Specifies the
account type of the security identifier specified in the lgrmi2_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. |
lgrmi2_domainandname
Specifies the
account name of the account specified by the lgrmi2_sid member. The
account name is of the form.
<DomainName>\<AccountName>
See Also