Expand Minimize

USER_MODALS_INFO_1 structure

The USER_MODALS_INFO_1 structure contains logon server and domain controller information.

Syntax


typedef struct _USER_MODALS_INFO_1 {
  DWORD  usrmod1_role;
  LPWSTR usrmod1_primary;
} USER_MODALS_INFO_1, *PUSER_MODALS_INFO_1, *LPUSER_MODALS_INFO_1;

Members

usrmod1_role

Specifies the role of the logon server. The following values are defined.

ValueMeaning
UAS_ROLE_STANDALONE

The logon server is a stand-alone server.

UAS_ROLE_MEMBER

The logon server is a member.

UAS_ROLE_BACKUP

The logon server is a backup.

UAS_ROLE_PRIMARY

The logon server is a domain controller.

 

If the Netlogon service is not being used, the element should be set to UAS_ROLE_STANDALONE.

usrmod1_primary

Pointer to a Unicode string that specifies the name of the domain controller that stores the primary copy of the database for the user account manager.

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

Network Management Overview
Network Management Structures
User Modal Functions
NetUserModalsGet
NetUserModalsSet

 

 

Community Additions

ADD
Show:
© 2014 Microsoft