Directory Services

DSROLE_MACHINE_ROLE

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

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

Values

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

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Header: Declared in Dsrole.h.

See Also

DSROLE_PRIMARY_DOMAIN_INFO_BASIC, Active Directory Enumerations