Overview
Group
Quick Info

Windows NT
Yes
Win95
No
Win32s
No
Import Library
-
Header File
lmaccess.h
Unicode
No
Platform Notes
None

LOCALGROUP_MEMBERS_INFO_2

The LOCALGROUP_MEMBERS_INFO_2 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_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

LOCALGROUP_MEMBERS_INFO_0
, LOCALGROUP_MEMBERS_INFO_1, LOCALGROUP_MEMBERS_INFO_3,
NetLocalGroupAddMembers, NetLocalGroupDelMembers, NetLocalGroupGetMembers

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples