Chapter 1: ColdFusion Tags
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>
103
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?
Questions and answers