• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

adminapi and cflogin

Guest
Jan 14, 2014 Jan 14, 2014

Copy link to clipboard

Copied

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

Views

461

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation