USER_INFO_1017 structure (lmaccess.h)

The USER_INFO_1017 structure contains expiration information for network user accounts. This information level is valid only when you call the NetUserSetInfo function.

Syntax

typedef struct _USER_INFO_1017 {
  DWORD usri1017_acct_expires;
} USER_INFO_1017, *PUSER_INFO_1017, *LPUSER_INFO_1017;

Members

usri1017_acct_expires

Specifies a DWORD value that indicates when the user account expires. The user account is specified in the username parameter to the NetUserSetInfo function.

The value is stored as the number of seconds that have elapsed since 00:00:00, January 1, 1970, GMT. Specify TIMEQ_FOREVER to indicate that the account never expires.

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