ad_user_group_addad_user_group_add [ -approved_p approved_p ] \
[ -existence_public_p existence_public_p ] \
[ -multi_role_p multi_role_p ] \
[ -new_member_policy new_member_policy ] \
[ -extra_values extra_values ] [ -group_id group_id ] group_type \
group_name
Defined in packages/acs-core/user-groups-procs.tclCreates a new group. Returns: The groud_id of the group if created
or it existed already (double click protection); 0 on failure.
- Switches:
-
-approved_p (defaults to
"t" ) - (optional): is this an approved group?
-existence_public_p (defaults to "f" ) - (optional): Is the existence of this group public?
-multi_role_p (defaults to "f" )
-new_member_policy (defaults to "closed" ) - (optional): How can members join? (wait, closed, open)
-extra_values (optional) - (optional): A ns_set containing
extra values that should be stored for this
group. These are items that will go in the [set group_type]_info
tables. The keys of the ns_set contain the column names. The values
contain the values.
-group_id (optional) - (optional): Group_id. If this is null, one will be created
- Parameters:
-
group_type
group_name
|