A
Alan Lambert
I've got a web (intranet) application that uses windows authentication. Once
a user has connected the applicaiton picks up their username and looks up
details in a database using the username as a key.
The username is got from the following:
((WindowsPrincipal)Page.User).Identity.Name
This works fine for everyone but a problem has recently cropped up. One
persons AD account has recently been renamed.
e.g. It was originally MYDOMAIN\JohnSmith and it is now MYDOMAIN\JohnJones
Although the user can log on using MYDOMAIN\JohnJones the username resolves
to MYDOMAIN\JohnSmith i.e. the original name.
Is there a bug in the security api? Why is this occuring and how do I fix
it?
Thanks in advance for your help
Alan
a user has connected the applicaiton picks up their username and looks up
details in a database using the username as a key.
The username is got from the following:
((WindowsPrincipal)Page.User).Identity.Name
This works fine for everyone but a problem has recently cropped up. One
persons AD account has recently been renamed.
e.g. It was originally MYDOMAIN\JohnSmith and it is now MYDOMAIN\JohnJones
Although the user can log on using MYDOMAIN\JohnJones the username resolves
to MYDOMAIN\JohnSmith i.e. the original name.
Is there a bug in the security api? Why is this occuring and how do I fix
it?
Thanks in advance for your help
Alan