Have you checked to see what GetUserName is returning?