CFIMPERSONATE

Allows you to impersonate a user defined in a security context defined in Advanced Security. The ColdFusion Application Server enforces all the privileges and restrictions that have been set up for that user with the Advanced Security rules.

Syntax

<CFIMPERSONATE
    SECURITYCONTEXT="SecurityContext"
    USERNAME="Name"
    PASSWORD="Password"
    TYPE= "CF" or "OS">
    ...
    HTML or CFML code to execute
    ...
</CFIMPERSONATE>
SECURITYCONTEXT

Required. The security context in which the user should be authenticated. If the impersonation type is "CF ," then you should specify a security context that has already been defined using the ColdFusion Advanced Security Administrator. If the impersonation type is "OS," then you should specify an NT domain as ...

Get Sams Teach Yourself ColdFusion® in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.