User Guide

Chapter 1: ColdFusion Tags 103
engine enforces the rules and policies specified for the user in the Advanced Security
section of the ColdFusion Administrator. Therefore, there is no need to make multiple
isAuthorized() calls in the code to protect each resource.
Refer to Administering ColdFusion Server for more information about Advanced
Security.
Example <!--- This example shows the use of CFIMPERSONATE to impersonate
a person with the user name Bill and the password BJ4YE.--->
<HTML>
<HEAD>
<TITLE>CFIMPERSONATE Example</TITLE>
</HEAD>
<BODY>
<CFIMPERSONATE SECURITYCONTEXT="testContext"
USERNAME="Bill"
PASSWORD="BJ4YE"
TYPE= "CF">
...
</CFIMPERSONATE>
</BODY>
</HTML>