USER_INFO_1014 structure (lmaccess.h)

The USER_INFO_1014 structure contains the names of workstations from which the user can log on. This information level is valid only when you call the NetUserSetInfo function.

Syntax

typedef struct _USER_INFO_1014 {
  LPWSTR usri1014_workstations;
} USER_INFO_1014, *PUSER_INFO_1014, *LPUSER_INFO_1014;

Members

usri1014_workstations

Important

You should no longer use usri1014_workstations. Instead, you can control sign-in access to workstations by configuring the User Rights Assignment settings (Allow log on locally and Deny log on locally, or Allow log on through Remote Desktop Services and Deny log on through Remote Desktop Services).

Pointer to a Unicode string that contains the names of workstations from which the user can log on. The user is specified in the username parameter to the NetUserSetInfo function.

As many as eight workstations can be specified; the names must be separated by commas. A null string indicates that there is no restriction.

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

NetUserSetInfo

Network Management Overview

Network Management Structures

User Functions