Kasper Nielsen wrote:
> Is there any way of getting the groups a user is member of?
> Instead of running through all of the groups and all of the permissions and
> checking for hasRole!

Gosh, I'm tired of explaing this over and over again...

User is *not* a member of a Group.

User is assigned a role *within* a Group.

Please browse the archives.

The code that Riley sent, would return the list of all Groups,
in which at least one Role was assigned to the User in question.
(uh was that sentence grammatically correct? hope you get the idea)

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to