Export (0) Print
Expand All

DSROLE_MACHINE_ROLE enumeration

The DSROLE_MACHINE_ROLE enumeration is used with the MachineRole member of the DSROLE_PRIMARY_DOMAIN_INFO_BASIC structure to specify the computer role.

Syntax


typedef enum  { 
  DsRole_RoleStandaloneWorkstation,
  DsRole_RoleMemberWorkstation,
  DsRole_RoleStandaloneServer,
  DsRole_RoleMemberServer,
  DsRole_RoleBackupDomainController,
  DsRole_RolePrimaryDomainController
} DSROLE_MACHINE_ROLE;

Constants

DsRole_RoleStandaloneWorkstation

The computer is a workstation that is not a member of a domain.

DsRole_RoleMemberWorkstation

The computer is a workstation that is a member of a domain.

DsRole_RoleStandaloneServer

The computer is a server that is not a member of a domain.

DsRole_RoleMemberServer

The computer is a server that is a member of a domain.

DsRole_RoleBackupDomainController

The computer is a backup domain controller.

DsRole_RolePrimaryDomainController

The computer is a primary domain controller.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Dsrole.h

See also

DSROLE_PRIMARY_DOMAIN_INFO_BASIC
Enumerations in Active Directory Domain Services

 

 

Show:
© 2014 Microsoft