/// <summary> /// Get All computers /// </summary> /// <returns></returns> public XElement GetAllComputers() { XElement computerPrincipals = new XElement((XName)"ComputerPrincipals"); try { ActiveDirectory.GetAllComputers(computerPrincipals); return(computerPrincipals); } catch (Exception ex) { throw new FaultException(ex.Message); } }