However, I have found that when I use dummy names for the useremail and username variables, the user profile database in MOSS overwrites them once the user has been added to the group. So, I used the following stsadm command to add users to a SharePoint group, which can be useful when you have bulk users to add from a CSV file:
stsadm -o adduser -url http://
-userlogin -useremail email@example.com -group " " -username "Test User"
stsadm -o adduser -url https://portal.edulink.internal -userlogin EDULINK\phil.childs -useremail firstname.lastname@example.org -group "Corporate Users" -username "Test User"
Once added, wait a few seconds and the e-mail address and user name changes from email@example.com and Test User to the correct one specified in the user profile database. Make sure that you test this with one user first though, before creating a script to add 1000 users all at once!