stats:proc:createaccount
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| stats:proc:createaccount [2011/09/29 00:06] – Patrick Michel | stats:proc:createaccount [2013/07/10 12:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| <code xcend> | <code xcend> | ||
| # This doesn' | # This doesn' | ||
| - | createAccount(ident username, string lastName, string firstName, string email, string password) { | + | createAccount(ident uid, ident username, string lastName, string firstName, string email, string password) { |
| - | assume | + | assume exists /account[uid]/admin; |
| + | |||
| + | assume not exists | ||
| | | ||
| - | insert // | + | insert / <account username=[username] lastName=[lastName] firstName=[firstName] email=[email] password=[password] /> |
| - | } # roles: admin | + | } |
| </ | </ | ||
stats/proc/createaccount.1317247591.txt.gz · Last modified: by Patrick Michel
