how about writing a wrapper COM object? thats what we did to get around lots
of problems with creating Virtual Dirs on the fly

HTH


Mikey

-----Original Message-----
From: cf coder [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 27, 2003 12:12
To: CF-Talk
Subject: Re:Anonymous access and authentication

I downloaded the asdi.zip custom tag from the exchange, I don't know how to
use it. Guys, there must be some way for ColdFusion to invoke the
ADSystemInfo com object, please can somebody show me how to do this.

>If it's an active directory component, you won't be able to call it using
>createObject.
>
>Try the <cf_adsi> tag in the developer's exchange.
>
>-----Original Message-----
>From: cf coder [mailto:[EMAIL PROTECTED]
>Sent: November 26, 2003 9:20 AM
>To: CF-Talk
>Subject: Re:Anonymous access and authentication
>
>
>no, I won't use the cfhttp tag, I'll use the code directly in my file. Oh
>and btw, I get this error when I view in the browser
>
>An exception occurred when instantiating a Com object.  
>The cause of this exception was that: java.lang.NullPointerException.  
>
>any ideas?
>
>>You would run into the same issue. You would still have to provide
>>access information to execute this code.
>>
>><cfscript>
>> ADSys=createObject('com', 'ADSystemInfo');
>> // you need a set user on this line.
>> writeOutput=('User='&ADSys.UserName);
>></cfscript>
>>
>>
>  _____  
>
>
  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to