L
lgalusha
Our environment is - we use Visual Studio 2005, Dotnet 2.0, VB to create a
web application which we run on IIS 6.
Our Web.config file has the following set:
<authentication mode="Windows" />
<identity impersonate="true"/>
We are using
MyPrincipal = New WindowsPrincipal(Current.User.Identity)
to obtain the name of the currently logged on user.
This is working until we are forced to rename a user's account in Active
Directory. For example, Mary Smith (domain\marys) gets married and becomes
Mary Jones (domain\maryj). We rename the account in Active Directory Users
and Computers and the rename appears to be fine. However from this point on
when we look at WindowsPrincipal(Current.User.Identity) it returns
domain\marys rather than her new name of domain\maryj.
What are we missing?
web application which we run on IIS 6.
Our Web.config file has the following set:
<authentication mode="Windows" />
<identity impersonate="true"/>
We are using
MyPrincipal = New WindowsPrincipal(Current.User.Identity)
to obtain the name of the currently logged on user.
This is working until we are forced to rename a user's account in Active
Directory. For example, Mary Smith (domain\marys) gets married and becomes
Mary Jones (domain\maryj). We rename the account in Active Directory Users
and Computers and the rename appears to be fine. However from this point on
when we look at WindowsPrincipal(Current.User.Identity) it returns
domain\marys rather than her new name of domain\maryj.
What are we missing?