Forum OpenACS Q&A: Re: control display of link to items in a page based on group membership

thanks,

it's the usage of group::member_p I am struggling with.
So I guess it's a question of
set user_id [ad_conn user_id]
set cond [group::member_p [-user_id user-id] [-group_name groupA]

will this work ?

No.

group::member_p -user_id $user_id -group_name $group_name

should work.