USER_INFO_1010 structure (lmaccess.h)

The USER_INFO_1010 structure contains a set of bit flags defining the operator privileges assigned to a user network account. This information level is valid only when you call the NetUserSetInfo function.

Syntax

typedef struct _USER_INFO_1010 {
  DWORD usri1010_auth_flags;
} USER_INFO_1010, *PUSER_INFO_1010, *LPUSER_INFO_1010;

Members

usri1010_auth_flags

Specifies a DWORD value that contains a set of bit flags that specify the user's operator privileges. The user is specified in the username parameter to the NetUserSetInfo function.

This member can be one or more of the following values.

Value Meaning
AF_OP_PRINT
The print operator privilege is enabled.
AF_OP_COMM
The communications operator privilege is enabled.
AF_OP_SERVER
The server operator privilege is enabled.
AF_OP_ACCOUNTS
The accounts operator privilege is enabled.

Remarks

For more information about controlling access to securable objects, see Access Control, Privileges, and Securable Objects.

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