On Mar 3, 10:30 am, maplye <[email protected]> wrote:
> the auth tool have has_membership(groupid) function.
> but the groupid is variational.
> I am unable in the view page to use when i only know groupname.

auth.has_membership(auth.id_group(groupname))

F

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to