Unclassified NewsBoard Code Reference

UnbSetUserGroups function

Set all groups the current user should be a member of

function UnbSetUserGroups ($userid, $groups);

Parameters:

userid
(int) user id
groups
(array(int)) group ids

Return value:

(bool) success, where false means chaos...

Implementation file: unb_lib/common.lib.php, line 2995

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.