Not sure if this helps, but if you turn on NT-Authentication in IIS,
then you'll have a variable $_SERVER['LOGGED_ON'] or something similar
that'll hold the username of the person that's logged on.
Check a phpinfo() page in a NT-Authenticated directory to see which
variables are available.
---John Holmes...
> -Original Message-
> From: Gabor Niederlaender [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 15, 2002 8:39 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] MSSQL and NT
>
> Hi all!
>
>
> I went after my problem with the NT authentification and I found out,
> that if you want to make a NT-based Authentification (f.ex for an
> ODBC-Connection) the I_USR will be seen as the actual user...
>
> I granted then rights to the I_USR in the DB, but this way, I cannot
> distinguish which user is actually working in the DB.
>
> IS there a way to use NT-Authentification in connection with php &
> MSSQL ???
>
> Please Help,
>
> Gabor
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php