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):
- Testcases:
- acs_subsite_group_type