Whatever message this page gives is out now! Go check it out!
IsUserInRole("role_name")Parameter | Description |
role_name | Name of a security role |
<cfif IsUserInRole("Admin") >
<cfoutput>Authenticated user is an administrator</cfoutput>
<cfelse IsUserInRole("User") >
<cfoutput>Authenticated user is a user</cfoutput>
</cfif>