Function "UpdateUser()" |
![]() ![]() ![]() |
Updates the information of a user account in the security system. Syntax: UpdateUser(username, [fullname], [email], [disabled])
Except the username parameter, all other parameters are positional and optional. Parameters: username the name of the user account to update fullname the full name of the user the email account of the user. disabled true or false
Completion Codes: 0: Normal completion 8: username found or email already exists 12: Syntax error or Security Broker error
Examples: UpdateUser('gordon',,'gordon@flash-gordon.com')
To maintain fields other that the standard fields we can use SetVar(name,value) function SetVar('DEPT','@vof(DEPT_ID)') SetVar('GRADE','3') UpdateUser('sam')
See SML Functions
|