Function.group set user default

Description
void  group_set_user_default($group_id, $user_id_ary, [$group_attributes = false], [$update_listing = false]) This function should be used to set a default group for users. The default group is their primary role and what appears in the user list (as a color). Admin have to have a default user group of 5.

Return Values
Returns void. There are no return values.

Example 1
Will set the user id 55 to a default group of Global Moderators group (group_id = 4). 

--Mfairchild365 19:19, 18 May 2011 (BST)

Function.group_set_user_default