User Tools

Site Tools


stats:proc:createaccount

This is an old revision of the document!


Create Account

# This doesn't take account validation into consideration at all. It probably has to be allowed to replace an unvalidated account.
createAccount(ident username, string lastName, string firstName, string email, string password) {
  assume not exists //accounts/account[username];
 
  insert //accounts <account username=[username] lastName=[lastName] firstName=[firstName] email=[email] password=[password] />
}
stats/proc/createaccount.1317236940.txt.gz · Last modified: 2011/09/28 21:09 by Patrick Michel