No - when used in cfinvoke, it is assumed to be for HTTP auth for a web service. You have to use cfinvokeargument.
On Tue, Apr 1, 2008 at 1:49 PM, Ian Skinner <[EMAIL PROTECTED]> wrote: > I am not sure I understand the following error. > > The USERNAME parameter to the getUser function is required but was not > passed in. > > The error occurred in D:\playground\ian\security.cfm: line 4 > > 2 : <cfparam name="form.un" default="#listLast(cgi.auth_user,'\')#"> > 3 : > 4 : <cfinvoke component="common_cfc.ldap_security.ldap" > method="getUser" username="#form.un#" returnvariable="userObj"/> > > Are the following two forms of the <cfinvoke...> tag equivalent? > > <cfinvoke component="common_cfc.ldap_security.ldap" method="getUser" > USERNAME="#form.un#" returnvariable="userObj"/> > > AND > > <cfinvoke component="common_cfc.ldap_security.ldap" method="getUser" > returnvariable="userObj"> > <cfinvokeargument name="username" value="#form.un#"> > </cfinvoke> > -- =========================================================================== Raymond Camden, Camden Media Email : [EMAIL PROTECTED] Blog : www.coldfusionjedi.com AOL IM : cfjedimaster Keep up to date with the community: http://www.coldfusionbloggers.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302449 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

