Try this
<cfset variables.thepassword = 'your password'>
<cfset variables.isLoggedin =
createObject("component","cfide.adminapi.administrator").login(adminPassword=variables.thepassword)>
<cfdump var="#variables.isLoggedin#">

The result is True or False

Wil Genovese


On Tue, Oct 28, 2008 at 3:36 PM, Dana Kowalski <[EMAIL PROTECTED]>wrote:

> I've never really used the admin api until today. I'm having a problem
> catching a bad login. I tried wrapping the instantiation/login in a try
> catch, but it seems to be ignoring the catch. Is there any easy way to catch
> a bad admin api login? I'm not seeing anything in the docs or examples I've
> found.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314503
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to