PROCESS |INSTRUCTIONS | COMMANDS
Generated on Fri May 16 17:38:20 CEST 2003
COMMANDES
actionlog.create
color.modify
credit-card.check-number
cron.create
cron.modify
cron.remove
document.execute
domain.create
domain.remove
file.copy
file.delete
file.extract-text
file.link
file.move
file.touch
folder.create
group.add-user
group.create
group.remove
group.remove-user
http.redirect
http.request
image.resize
instance.append-field
instance.create
instance.increment-field
instance.modify
instance.remove
instance.remove-field
instance.remove-locale-content
ldap.create
ldap.modify
ldap.remove
license.sign-file
messageboard.add
object-field.create
object-field.modify
object-field.remove
object.create
object.modify
object.remove
parked-domain.create
parked-domain.remove
privilege.create
privilege.remove
processing-instruction.add
publication-list.create
publication-list.modify
publication-list.remove
publication.create
publication.link
publication.modify
publication.remove
publication.unlink
right.create
right.remove
security.create-encryption-key
security.create-signature-key
security.decrypt-string
security.encrypt-string
security.keystore-create-key
security.keystore-remove-key
security.sign-namespace
site.create
site.exist
site.export
site.modify
site.remove
site.swap
smtp.send
soap.request
sql.delete
sql.increment
sql.insert
sql.update
user.authenticate
user.create
user.exist
user.login
user.logout
user.mail-password
user.modify
user.remove
webservice.request
user.create
 

description
Create a new user.

privilege-required
anyone

tx-support
true

 
 INSTRUCTION 
name type default-value required description
domain-id integer none false Domain id associated to the user. Each user is created on a specific domain.
 
 PARAMETER 
name type default-value required description
password string none true Password (case sensitive).
email string none true Email of the user, currently used to send a new password when the current password is lost by the user.
name string none true Name of the user.
login string none true Login of the user (should be low case, alphanumerical value).
instance-id integer none false Id of an instance associated to the user. Only superuser can set an instance at creation time. User can set its own instance at modification.
 
 ERROR 

id msg
1 User login allready exists

 
 RESULT 

name description
id Id of the user just created.

 
 EXAMPLE 

example 1
<nvd:command name="user.create" >
<nvd:parameter name="login">robbykrieger</nvd:parameter>
<nvd:parameter name="password">iloveparis</nvd:parameter>
<nvd:parameter name="email">rob@krieger.com</nvd:parameter>
<nvd:parameter name="name">Robby Krieger</nvd:parameter>
<nvd:parameter name="instance-id">1258</nvd:parameter>
<nvd:result name="id" variable="user-id" />
</nvd:command>