Function "CreateUser()" |
![]() ![]() ![]() |
Creates a new user account in the security system. Syntax: CreateUser(username, password, fullname, email, disabled)
Parameters: username the name of the new user to create password the password for the user fullname the full name of the user the email account of the user. disabled true if user is initially disabled false otherwise
Completion Codes: 0: Normal completion 8: username or email already exists 12: Syntax error or Security Broker error
Examples: CreateUser('gordon','dongor','Flash Gordon','flash@fgordon.com',false)
To maintain fields other that the standard fields we can use SetVar(name,value) function. SetVar('DEPT','VE5') SetVar('GRADE','2') CreateUser('sam','1244','Samuel Fisher','',false)
See SML Functions
|