ad_user_group_authorized_admin user_id group_id dbWhat it does:
Returns 1 if the user has a role of administrator. 0 otherwise.Defined in: /web/philip/packages/acs-core/user-groups-procs.tcl
Source code:
set n_rows [database_to_tcl_string $db "select count(*) from user_group_map where user_id = $user_id and group_id = $group_id and lower(role) = 'administrator'"] if { $n_rows > 0 } { return 1 } else { return 0 }