GROUP_INFO_1 structure (lmaccess.h)

The GROUP_INFO_1 structure contains a global group name and a comment to associate with the group.

Syntax

typedef struct _GROUP_INFO_1 {
  LPWSTR grpi1_name;
  LPWSTR grpi1_comment;
} GROUP_INFO_1, *PGROUP_INFO_1, *LPGROUP_INFO_1;

Members

grpi1_name

Pointer to a null-terminated Unicode character string that specifies the name of the global group. For more information, see the following Remarks section.

When you call the NetGroupSetInfo function this member is ignored.

grpi1_comment

Pointer to a null-terminated Unicode character string that specifies a remark associated with the global group. This member can be a null string. The comment can contain 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

Group Functions

NetGroupAdd

NetGroupEnum

NetGroupGetInfo

NetGroupSetInfo

Network Management Overview

Network Management Structures