Thanks for the feedback Mike. It turns out that the file I was using that had the usernames in it had an extra space at the end of the username. Using trim in the code fixed it right up. Mike B.