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
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now