Index   Commented   Search   About

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

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun