LOCALGROUP_INFO_1 structure (lmaccess.h)

The LOCALGROUP_INFO_1 structure contains a local group name and a comment describing the local group.

Syntax

typedef struct _LOCALGROUP_INFO_1 {
  LPWSTR lgrpi1_name;
  LPWSTR lgrpi1_comment;
} LOCALGROUP_INFO_1, *PLOCALGROUP_INFO_1, *LPLOCALGROUP_INFO_1;

Members

lgrpi1_name

Pointer to a Unicode string that specifies a local group name. For more information, see the following Remarks section.

This member is ignored when you call the NetLocalGroupSetInfo function.

lgrpi1_comment

Pointer to a Unicode string that contains a remark associated with the local group. This member can be a null string. The comment can have as many as MAXCOMMENTSZ characters.

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)

See also

Local Group Functions

NetLocalGroupAdd

NetLocalGroupEnum

NetLocalGroupGetInfo

NetLocalGroupSetInfo

Network Management Overview

Network Management Structures