Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_RoleStandaloneWorkstationThe computer is a workstation that is not a member of a domain. |
DsRole_RoleMemberWorkstationThe computer is a workstation that is a member of a domain. |
DsRole_RoleStandaloneServerThe computer is a server that is not a member of a domain. |
DsRole_RoleMemberServerThe computer is a server that is a member of a domain. |
DsRole_RoleBackupDomainControllerThe computer is a backup domain controller. |
DsRole_RolePrimaryDomainControllerThe computer is a primary domain controller. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Header | dsrole.h |