Salesforce

UserAdd (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

UserAdd (Magic xpa 3.x)

Adds a user record into the security file from within an application.

Syntax:

UserAdd(user, name, password, info)

Parameters:

user: the user ID to insert into the security file.

name: the name of the new user.

password: the user password.

info: the user information variable.

Returns:

Logical TRUE or FALSE according to the success or failure of the operation.

Example:

UserAdd('John', 'John Doe', 'xyz', 'no info') will insert a user called John to the Security file, with the full name John Doe, the password xyz and the string 'no info' in the User Info variable.

Note:

Only a supervisor user can use the function successfully.

See also:

UserDel

The Online and Rich Client Samples projects (program SE03 and RSE03)

Reference
Attachment 
Attachment