macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

loop/list append multiple roles with cflogin

Subject: loop/list append multiple roles with cflogin
From: "lpmartineau" <webforumsuser@xxxxxxxxxxxxxx>
Date: Wed, 27 Jun 2007 18:15:48 +0000 (UTC)
Newsgroups: macromedia.coldfusion.cfml_general_discussion

Hi everyone,

 I have a small authentication database that has multiple roles. some users are 
part of one role but other users are part of the other roles. 

 how can I loop over the roles in order to make a list of each role?

 for example if the user is part of 4 roles I want to set a variable called 
myroles with those 4 roles (comma delimited) then I can use cfloginuser 
roles=#myroles#

 Any ideas?

 Thanks

 Luc


<Prev in Thread] Current Thread [Next in Thread>