0 Replies Latest reply: Jan 14, 2014 6:46 PM by Dax_Kent RSS

    adminapi and cflogin

    Dax_Kent

      Hello,

       

      I'm trying to invoke the adminapi component, but when I do it overwrites my getauthuser() and logs me out of my application.

       

      How can i invoke the .login and user my existing cflogin credentials?

       

      I was hoping something as follows would work, but no luck.

      adminObj = createObject("component","cfide.adminapi.administrator").login(getauthuser());

       

      Does this mean I can only use this component outside of an application?

       

      Any help is appreciated.

       

      Thanks