Platform SDK: Network Management

USER_MODALS_INFO_2

The USER_MODALS_INFO_2 structure contains the Security Account Manager (SAM) domain name and identifier.

typedef struct _USER_MODALS_INFO_2 {
  LPWSTR  usrmod2_domain_name;
  PSID    usrmod2_domain_id;
}USER_MODALS_INFO_2, *PUSER_MODALS_INFO_2, *LPUSER_MODALS_INFO_2;

Members

usrmod2_domain_name
Specifies the name of the Security Account Manager (SAM) domain. For a domain controller, this is the name of the domain that the controller is a member of. For Windows NT/Windows 2000 workstations, this is the name of the computer.
usrmod2_domain_id
Pointer to a Unicode string that specifies the domain security identifier of the domain named by the usrmod2_domain_name member.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Unsupported.
  Header: Declared in Lmaccess.h.

See Also

Network Management Overview, Network Management Structures, User Modal Functions, NetUserModalsGet, NetUserModalsSet