Thanks, but isn't that what I am doing with this code?
adminObj = createObject
("component","bluedragon.adminapi.administrator").login("admin");
when I do this adminObj is returing true, leading me to think at least
I have this part working. However when I do
the set datasource, I get an error saying I need to login.
On Jan 14, 1:08 pm, Matthew Woodward <[email protected]> wrote:
> mwkorver wrote:
> > I need to be able to create a datasource automatically via the admin
> > api at application start up.
>
> You have to log into the admin API to create datasources. You can do
> this programmatically as well by calling the login method of the
> Administrator CFC in the admin API. So you can login, create the
> datasource, and then call the logout method after the datasource has
> been created.
>
> --
> Matt Woodward
> [email protected]http://www.mattwoodward.com/blog
>
> Please do not send me proprietary file formats such as Word, PowerPoint, etc.
> as attachments.http://www.gnu.org/philosophy/no-word-attachments.html
>
> smime.p7s
> 4KViewDownload
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
http://groups.google.com/group/openbd?hl=en
official site @ http://www.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---