LOCALGROUP_MEMBERS_INFO_2 structure (lmaccess.h)
The LOCALGROUP_MEMBERS_INFO_2 structure contains the security identifier (SID) and account information associated with a local group member.
Syntax
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
Type: PSID
A pointer to a SID structure that contains the security identifier (SID) of a local group member. The local group member can be a user account or a global group account.
lgrmi2_sidusage
Type: SID_NAME_USE
The account type associated with the security identifier specified in the lgrmi2_sid member. The following values are valid.
Value | Meaning |
---|---|
|
The account is a user account. |
|
The account is a global group account. |
|
The account is a well-known group account (such as Everyone). For more information, see Well-Known SIDs. |
|
The account has been deleted. |
|
The account type cannot be determined. |
lgrmi2_domainandname
Type: LPWSTR
A 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>
Remarks
User account names are limited to 20 characters and group names are limited to 256 characters. In addition, account names cannot be terminated by a period and they cannot include commas or any of the following printable characters: ", /, , [, ], :, |, <, >, +, =, ;, ?, *. Names also cannot include characters in the range 1-31, which are nonprintable.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | lmaccess.h (include Lm.h) |