You need to add a reference to the System.DirectoryServices assembly