Issue
Users from a Sitecore 5 solution is needed in a new Sitecore 7.2 solution.
Solution
Two webforms are made. One to serialize users from the Sitecore 5.3 site into xml and one to import users into the Sitecore 7.2 site from the xml.
Serialization of users from Sitecore 5.3
This code iterates all users in the solution and writes it to an xmlfile in the App_Data folder. Username, Email, Fullname and roles are serialized.