Hello everyone,
I'm making my first forays into the world of the Umbraco source code. What I require is to alter the member creation function so that the Login field is automatically filled with a unique value. This value is based on the Name as entered in the popup box when the user right clicks the Member node and chooses "Create". So, for example, if the name entered is "Joe Bloggs", I might try joe.bloggs as the username.
The important part that I need now is a way of checking this username "joe.bloggs" against all of the existing usernames already in use to ensure that it is unique. From what I can see you need an id to create a member object, but I want to loop over all of the members and compare the usernames with my new username.
Anyone got any bright ideas on how to proceed?
Many thanks,
David
http://equatorlive.com/blogs/dotnetdave/