Hi,

I am sure this is a simple one but I can't find the answer.
I am building a module and I need to find the group id for the current user. can someone tell me how to do that?

thanks

Comments

goodsanket’s picture

I am trying to get groups ID from current user id, in views. Tried to do this by adding relation in views2, but still nothing.
Using a custom query it is possible easily, how to do with views.??

Any help.... ???

goldkey266’s picture

I had to create an SQL query into my module code.