Find Domin User Information

System.DirectoryServices class will help finding the information of a Domain User. Function which will help retriving Active Directory Object:        private DirectoryEntry GetActiveDirectoryObject(string filter, string domain, string[] properties)        {             /// Running LADAP query to get the directory entry            DirectoryEntry adsRoot = new DirectoryEntry(“LDAP://” + domain, null, null, AuthenticationTypes.Secure);             DirectorySearcher searcher = new DirectorySearcher(adsRoot);           …