IISADMPWD
am 16.10.2007 13:40:16 von Boxington HeadmakerDoes anyone know if you can pre-populate the form with the currently logged
on domain and username?
Thanks,
Box
Does anyone know if you can pre-populate the form with the currently logged
on domain and username?
Thanks,
Box
Grab the Logon_User server variable (e.g.
Request.ServerVariable("Logon_User"). Do a Split() on the "\" character and
you should have the two pieces of information you need.
You don't mention what server-side technology you wish to write this in, so
i haven't written any code.
Cheers
Ken
"Boxington Headmaker"
message news:emtoTl%23DIHA.3848@TK2MSFTNGP05.phx.gbl...
> Does anyone know if you can pre-populate the form with the currently
> logged on domain and username?
>
> Thanks,
> Box
>
"Ken Schaefer"
news:%236qE9XHEIHA.5752@TK2MSFTNGP02.phx.gbl...
> Grab the Logon_User server variable (e.g.
> Request.ServerVariable("Logon_User"). Do a Split() on the "\" character
> and you should have the two pieces of information you need.
>
> You don't mention what server-side technology you wish to write this in,
> so i haven't written any code.
Many thanks for your reply, after a bit of digging I found that I needed to
disable Anon. Access on the IIS Virtual Directory as per: kb894825...
The user name is not populated
This behavior is a side effect of using Anonymous Authentication on the
Iisadmpwd virtual directory. If the user name must be populated, disable
Anonymous Authentication so access to this virtual directory can be
authenticated. If you do this, the Password Change pages can obtain the
authentication information.
Thanks,
Box