Skip navigation
Currently Being Moderated

adminapi and cflogin

Jan 14, 2014 6:46 PM

Tags: #adminapi #cflogin #cf10 #getauthuser()

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(getaut huser());

 

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

 

Any help is appreciated.

 

Thanks

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points