Export (0) Print
Expand All
Expand Minimize

LOCALGROUP_MEMBERS_INFO_2 structure

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.

ValueMeaning
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). For more information, see Well-Known SIDs.

SidTypeDeletedAccount

The account has been deleted.

SidTypeUnknown

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Lmaccess.h (include Lm.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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft