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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for