Sets Users to a Department.

Parameters

id

The ID of the Department.

vals

The User ID of the user to be set to the Department.

Example

FM_api('Department_setUsers', ['id' => '3', 'vals' => '82878'])

Result

On Success

{'ok':1}