----- Original Message -----
From: "Rafal Krzewski" <[EMAIL PROTECTED]>
To: "Turbine" <[EMAIL PROTECTED]>
Sent: Tuesday, January 23, 2001 6:54 PM
Subject: Re: getGroups


> 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.
>

I really can't see the difference.

We may however perceive the word 'member' differently. I might as well have
used
'getting the groups a user is related to' or getting the groups a user has a
role in'.

Perhaps my problems, with seeing the difference, stems from the fact that
English isn't my first language of choice?

>
> 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.

That was what i was looking for.

- Kasper





------------------------------------------------------------
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