group::member_p (public)
group::member_p [ -user_id user_id ] [ -group_name group_name ] \ [ -group_id group_id ] [ -subsite_id subsite_id ] [ -cascade ]
Defined in packages/acs-subsite/tcl/group-procs.tcl
Return 1 if the user is a member of the group specified. You can specify a group name or group id. If there is more than one group with this name, it will use the first one. If cascade is true, check to see if the user is a member of the group by virtue of any other component group. (e.g. if group B is a component of group A then if a user is a member of group B then he is automatically a member of A also.) If cascade is false, then the user must have specifically been granted membership on the group in question.
- Switches:
- -user_id (optional)
- -group_name (optional)
- -group_id (optional)
- -subsite_id (optional)
- Only useful when using group_name. Marks the subsite in which to search for the group_id that belongs to the group_name
- -cascade (optional, boolean)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_subsite_check_composite_group