Function below can be used to check if a given Username exists in Active Directory: