| Title: | Can the User's Role in CFLOGIN Be a List? |
| Date: | 07/17/03 13 Posts |
| Summary: | When using roles-based security in CFMX, remember that IsUserInRole("admin,creative") evaluates to true only if a user is in both the admin and creative roles. To permit access to users who are in either an admin or a creative role, write your conditional code like this: <CFIF IsUserInRole("creative") or IsUserInRole("admin")> This thread also contains a discussion about the difference between ListContains() and ListFind() and some historical info about the Advanced Security system used in earlier versions of ColdFusion. |
| Related: |
More Info |
| Title: | Think You are a SQL GURU? Try Figuring This One Out. |
| Date: | 07/17/03 5 Posts |
| Summary: | SQL experts offer code examples that force the DBMS to differentiate between business and individual names stored in the same database column. A regex solution is also provided as well as news about a DLL that will add regex support to SQL Server. |
| Related: |
Think You are a SQL GURU? Try Figuring This One Out. |
| Title: | Interface Assessment |
| Date: | 07/17/03 12 Posts |
| Summary: | Developers discuss the importance of usability analysis throughout the early stages of application development. If you're looking for an application development methodology that includes usability analysis, try UML. It emphasizes use cases for this. |