ad_user_group_role_add

one of the documented procedures in this installation of the ACS
Usage:
ad_user_group_role_add   db   group_id   role
What it does:
Inserts a role into a user group.
Defined in: /web/philip/packages/acs-core/user-groups-procs.tcl

Source code:


    ns_db dml $db "insert into user_group_roles (group_id, role, creation_user, creation_ip_address) select $group_id, '[DoubleApos $role]', [ad_get_user_id], '[DoubleApos [peeraddr]]' from dual where not exists (select role from user_group_roles where group_id = $group_id and role = '[DoubleApos $role]')"


philg@mit.edu