ad_user_group_authorized_admin

one of the documented procedures in this installation of the ACS
Usage:
ad_user_group_authorized_admin   user_id   group_id   db
What 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
    }


philg@mit.edu