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]