469,568 Members | 1,435 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,568 developers. It's quick & easy.

system.web.httpcontext.current.user.identity.name shows old usenam

We changed a username in AD. The user now logs on to a computer on our
network using the new username without any problems. They can not logon using
the old username. However, when they access a IIS 6.0 web site where a
programmer compares system.web.httpcontext.current.user.identity.name to a
lookup table containing usernames they could not gain access with the new
userid. We created a web page to show what
system.web.httpcontext.current.user.identity.name is returning. It is
returning their old username. If we put the old username in the table the
user may access the web site. The IIS site logs for the web site show the
new username for the user as he accesses the site. I have used adsiedit to
look at the user's information in AD. It shows only the new username through
out the the account parameters.

We also have a sharepoint 3.0 site that shows the user's old username when
he accesses that site.

What can I do so system.web.httpcontext.current.user.identity.name will
contain the new username for this renamed account?

Thank you,

Oct 30 '08 #1
0 4450

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Sjaakie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.