Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/11/2008, 06:36
Avatar de Muzztein
Muzztein
 
Fecha de Ingreso: agosto-2002
Ubicación: Hangar 18
Mensajes: 1.703
Antigüedad: 22 años, 8 meses
Puntos: 16
request.serverVariables("LOGON_USER") no funciona. :S

Holas

Estoy dentro de una LAN arreglando una intranet.
Quiero obtener el usuario WINDOWS que esta conectado, pero tanto

request.serverVariables("LOGON_USER")

como

Request.Servervariables("REMOTE_USER")

me devuelven VACIO.

¿¿¿¿Hay alguna otra manera de obtener el usuario windows???

BUscando por alli encontre esto:

In order to pull the username you must ensure that the site for which the application is setup has Integrated Windows Authentication checked under Directory Security tab. To enable this, right click on the site name within Internet Services Manager and select Properties. Click on the Directory Security tab. Under Anonymous Access and Authentication Control, click on the Edit button. At the bottom of the window select the checkbox next to Integrated Windows Authentication.

Sin embargo no tengo acceso al ISS y el administrador es un poco quisquilloso e ignorante. Asi que debo de estar seguro de las cosas que le pido.

¿Es esta la unica manera de obtener el usuario conectado?
o existe un metodo alternativo?


ayuda plis