USER_INFO_0 structure (lmaccess.h)

The USER_INFO_0 structure contains a user account name.

Syntax

typedef struct _USER_INFO_0 {
  LPWSTR usri0_name;
} USER_INFO_0, *PUSER_INFO_0, *LPUSER_INFO_0;

Members

usri0_name

Pointer to a Unicode string that specifies the name of the user account. For the NetUserSetInfo function, this member specifies the name of the user.

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

NetUseDel

NetUserEnum

NetUserSetInfo

Network Management Overview

Network Management Structures

User Functions