Name
cfimpersonate
Synopsis
<cfimpersonate> ... </cfimpersonate>Allows you to impersonate a user within a security context previously set up within the ColdFusion Administrator.
Attributes
-
securitycontext="security_context" The name of the security context to authenticate the user within. Required. Security contexts are defined in the ColdFusion Administrator.
-
username="username" The name of the user you want to impersonate for authentication. Required.
-
password="password" The password of the user you want to impersonate. Required.
-
type="CF|OS" The type of impersonation to use.
CFspecifies impersonation at the application level;OSspecifies impersonation at the operating system, where the user specified is a valid user on the system. OS is available only with the Windows NT version of ColdFusion. The operating system user being impersonated must be assigned the user right to “Logon as a Batch Job”. WhileOSimpersonation processes faster thanCFimpersonation, it is limited in the types of resources the operating system can grant or deny access to. Required.