Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 409
  • Last Modified:

WindowsIdentity method picks up old login name with new credentials

Hi, we have a web application that gets used by all users of the company using AD AUTHENTICATION.  Recently, we renamed some user logins since some employees got married.  Most users were able to login successfully after their login change but we still have 1 user who authenticates to her workstation with her new login but the application still picks up her old login such as JLEVY instead of JLEVINE.  

Ex. JLevy --> renamed to --> JLevine

To Troubleshoot, I did the following already:
-- Had user login to another workstation with her new credentials creating a brand new profile on the workstation for her but the website still pulls old login.

-- Ran the development version of the website but this version picks up the correct login on the same machine.

Please help!
0
LISCNY
Asked:
LISCNY
  • 2
  • 2
3 Solutions
 
2CsCommented:
In the properties of the user account under the Account tab, have you checked both the logon name and also the user logon name pre-windows 2000 to confirm they are both updated?
0
 
CodeCruiserCommented:
>-- Ran the development version of the website but this version picks up the correct login on the same machine.

Have you tried deleting cookies and other temp files?
0
 
LISCNYAuthor Commented:
I apologize for the late reply but I was able to resolve the issue.  Please take a look below.

After posting this question, I tried the following:
1) Restarted the IIS ADMIN SERVICE ---------> DID NOT RESOLVE THE ISSUE
2) Restarted the Web Server ----------------> BINGO!!!

However, I don't know what fixed the issue but was also learning towards something that might've been cached in temp files that got released after the restart.  I'm curious to know what files could've been involved so next time perhaps I can avoid the restart.
Anyone has an idea?

Thanks for your response.
0
 
CodeCruiserCommented:
I don't think you will be able to point finger at any particular files. Also, as you said, if the files are locked then you can't delete them.
0
 
LISCNYAuthor Commented:
My solution resolved the issue I have posted.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now