5.8 AmILHServer

 procedure AmILHServer() : boolean

The AmILHServer procedure returns true if the local machine is Windows Server 2008 operating system or later.

  
 /* DS_BEHAVIOR_WIN2008 defined in [MS-ADTS]
  * section 6.1.4.2, "msDS-Behavior-Version: DC Functional Level" */
 return DSAObj()!msDS-Behavior-Version ≥ DS_BEHAVIOR_WIN2008
Show: