Expand Minimize

LOCALGROUP_MEMBERS_INFO_1 structure

The LOCALGROUP_MEMBERS_INFO_1 structure contains the security identifier (SID) and account information associated with the member of a local group.

Syntax


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

Type: PSID

A pointer to a SID structure that contains the security identifier (SID) of an account that is a member of this local group member. The account can be a user account or a global group account.

lgrmi1_sidusage

Type: SID_NAME_USE

The account type associated with the security identifier specified in the lgrmi1_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.

 

lgrmi1_name

Type: LPWSTR

A pointer to the account name of the local group member identified by the lgrmi1_sid member. The lgrmi1_name member does not include the domain name. For more information, see the following Remarks section.

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_2
LOCALGROUP_MEMBERS_INFO_3
NetLocalGroupGetMembers

 

 

Community Additions

ADD
Show:
© 2014 Microsoft