USER_MODALS_INFO_3 structure (lmaccess.h)

The USER_MODALS_INFO_3 structure contains lockout information for users and global groups in the security database, which is the security accounts manager (SAM) database or, in the case of domain controllers, the Active Directory.

Syntax

typedef struct _USER_MODALS_INFO_3 {
  DWORD usrmod3_lockout_duration;
  DWORD usrmod3_lockout_observation_window;
  DWORD usrmod3_lockout_threshold;
} USER_MODALS_INFO_3, *PUSER_MODALS_INFO_3, *LPUSER_MODALS_INFO_3;

Members

usrmod3_lockout_duration

Specifies, in seconds, how long a locked account remains locked before it is automatically unlocked.

usrmod3_lockout_observation_window

Specifies the maximum time, in seconds, that can elapse between any two failed logon attempts before lockout occurs.

usrmod3_lockout_threshold

Specifies the number of invalid password authentications that can occur before an account is marked "locked out."

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

NetUserModalsGet

NetUserModalsSet

Network Management Overview

Network Management Structures

User Modal Functions