On Thu, 22 Jul 2004 18:28:56 -0400, Joe Rinehart <[EMAIL PROTECTED]> wrote:
> I've used this approach, but I've liked using structures of roles more
> than arrays. It lets me do a userIsInRole(string rolename) method
> that just returns structKeyExists(variables.instance.roles,
> "employee"). I was wondering what you thought of this approach?
Well, that only allows a user to have one employee role and one
faculty role and one student role (at a time).
Walking the array and returning true if rolename is
role[n].getRoleName() is more flexible.
--
Sean A Corfield -- http://www.corfield.org/blog/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- CFC Design for Multiple Person Roles Dawson, Michael
- Re: CFC Design for Multiple Person Roles Jamie Jackson
- Re: CFC Design for Multiple Person Roles Joe Rinehart
- Re: CFC Design for Multiple Person Roles Sean Corfield
- Re: CFC Design for Multiple Person Roles Joe Rinehart
- RE: CFC Design for Multiple Person Roles Sean Corfield
- RE: CFC Design for Multiple Person Roles Dawson, Michael
- Re: CFC Design for Multiple Person Roles Sean Corfield
- RE: CFC Design for Multiple Person Roles Dawson, Michael
- RE: CFC Design for Multiple Person Roles Dawson, Michael
- RE: CFC Design for Multiple Person Roles Dawson, Michael
- Re: CFC Design for Multiple Person Roles Sean Corfield