API docs     >     Users and Permissions     >     User

User->saveUsergroups

Description

saveUsergroups ( $usergroupIds )
Saves all Usergroups for this User (removes all Usergroups first)

Parameters

$usergroupIds
array
Array of Usergroup Ids