DSROLE_MACHINE_ROLE enumeration (dsrole.h)

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_MACHINE_ROLE {
  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

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header dsrole.h

See also

DSROLE_PRIMARY_DOMAIN_INFO_BASIC

Enumerations in Active Directory Domain Services