group::get_id (public)

 group::get_id -group_name group_name [ -subsite_id subsite_id ] \
    [ -application_group_id application_group_id ]

Defined in packages/acs-subsite/tcl/group-procs.tcl

Retrieve the group_id to a given group-name. If you have more than one group with this name, it will return the first one it finds. Keep that in mind when using this procedure.

Switches:
-group_name (required)
the name of the group to look for
-subsite_id (optional)
the ID of the subsite to search for the group name
-application_group_id (optional)
the ID of the application group to search for the group name
Returns:
the first group_id of the groups found for that group_name.
Authors:
Christian Langmann <C_Langmann@gmx.de>
Malte Sussdorff <openacs@sussdorff.de>
Created:
2005-06-09

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_subsite_group_type acs_subsite_group_type (test acs-subsite) group::get_id group::get_id test_acs_subsite_group_type->group::get_id group::get_id_not_cached group::get_id_not_cached (private) group::get_id->group::get_id_not_cached util_memoize util_memoize (public) group::get_id->util_memoize group::member_p group::member_p (public) group::member_p->group::get_id group::party_member_p group::party_member_p (public) group::party_member_p->group::get_id group::title group::title (public) group::title->group::get_id

Testcases:
acs_subsite_group_type
[ show source ]
Show another procedure: