TestimoX

API Reference

Enum

DomainRole

Namespace ComputerX.ComputerSystem
Assembly ComputerX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Domain/workgroup role of a Windows computer as reported by Win32_ComputerSystem.DomainRole.

Inheritance

  • Enum
  • DomainRole

Values

public const DomainRole StandaloneWorkstation #

Standalone workstation (not domain-joined).

Value: 0
public const DomainRole MemberWorkstation #

Member workstation (joined to a domain).

Value: 1
public const DomainRole StandaloneServer #

Standalone server (not domain-joined).

Value: 2
public const DomainRole MemberServer #

Member server (joined to a domain).

Value: 3
public const DomainRole BackupDomainController #

Backup domain controller (legacy role).

Value: 4
public const DomainRole PrimaryDomainController #

Primary domain controller (legacy role).

Value: 5