Salesforce

GroupAdd (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

GroupAdd (Magic xpa 4.x)

Adds a user to a group. Assigns a user to a user group in the Security File from within an application.

Syntax:

GroupAdd(user, group)

Parameters:

user: the id of the user to be assigned to the user group given by the second parameter.

group: the group to which the user will be assigned.

Returns:

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

Example:

GroupAdd('Accountant', 'Accounting') will assign the user Accountant to the user group called Accounting. The User Accountant will inherit all the rights of group accounting.

Note:

Only users with SUPERVISOR rights can use the function. Attempts by other users to use this function will be ignored.

See also:

User Group Rights

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

Reference
Attachment 
Attachment