[web2py] Re: auth membership [ SOLVED]

2010-01-30 Thread weheh
Thanks. Now I see it in the doc. I knew it was there, just couldn't seem to find it late at night. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, sen

[web2py] Re: auth membership

2010-01-30 Thread weheh
Thanks. Now I see it in the doc. I knew it was there, just couldn't seem to find it late at night. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send

[web2py] Re: auth membership

2010-01-29 Thread mdipierro
auth.has_membership(auth.id_group('Member'),auth.user.id): On Jan 30, 12:41 am, weheh wrote: > What's the most concise syntax to find out if a user belongs to a > group called "paying_member"? > > From the looks of it, it seems like I'd have to do something like > this: > >     group_id=db(db.aut