group::get (public)

 group::get -group_id group_id [ -array array ]

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

Get basic info about a group: group_name, join_policy.

Switches:
-group_id (required)
-array (optional)
The name of an array in the caller's namespace where the info gets delivered.
Returns:
dict containing group_name, title, join_policy, and description
See Also:

Testcases:
acs_subsite_group_type
Source code:
    set info [acs::group_cache eval -partition_key $group_id  info-$group_id- {
                      group::get_not_cached -group_id $group_id
                  }]

    if {[info exists array]} {
        upvar 1 $array row
        array set row $info
    }
    return $info
XQL Not present:
Generic
PostgreSQL XQL file:
packages/acs-subsite/tcl/group-procs-postgresql.xql

Oracle XQL file:
packages/acs-subsite/tcl/group-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: