ad_get_group_info

one of the documented procedures in this installation of the ACS
Usage:
ad_get_group_info
What it does:
Binds variables to user group properties. Assumes group_id and db are defined.
Defined in: /web/philip/packages/acs-core/user-groups-procs.tcl

Source code:


    # assumes that group_id and db are set
    uplevel {
	set selection [ns_db 0or1row $db "select user_groups.* 
from user_groups
where  user_groups.group_id = $group_id"]
        if ![empty_string_p $selection] {
	    set_variables_after_query
	    # see if there is an _info table for this user_group type
	    set info_table_name [ad_user_group_helper_table_name $group_type] 

	    if [ns_table exists $db $info_table_name] {
		set selection [ns_db 0or1row $db "select * from $info_table_name where group_id = $group_id"]
		if ![empty_string_p $selection] {
		    set_variables_after_query
		}
	    }
	}
    }


philg@mit.edu