Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

34 views
Skip to first unread message

Antonio O''Neal

unread,
Oct 30, 2008, 8:22:07 AM10/30/08
to
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,
Antonio

stevemcmanus

unread,
Dec 1, 2009, 12:08:55 PM12/1/09
to
Hi,

I'm having almost the same problem - do you ever get a solution to this problem?

Thanks,
Steve

AntonioONea wrote:

system.web.httpcontext.current.user.identity.name shows old usenam
30-Oct-08

Thank you,
Antonio

Previous Posts In This Thread:

On Thursday, October 30, 2008 8:22 AM
AntonioONea wrote:

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

Thank you,
Antonio


Submitted via EggHeadCafe - Software Developer Portal of Choice
ASP.NET Programmer's Reference [Wrox Press]
http://www.eggheadcafe.com/tutorials/aspnet/68adb4f7-c86e-4c39-a897-012dfdc39b86/aspnet-programmers-refe.aspx

stevemcmanus

unread,
Dec 1, 2009, 12:11:04 PM12/1/09
to
Hi,

Did you ever get a solution to this problem?

We're having same issue here.

Thanks,
Steve

AntonioONea wrote:

We changed a username in AD. The user now logs on to a computer on our

Thank you,
Antonio

Previous Posts In This Thread:

On Thursday, October 30, 2008 8:22 AM
AntonioONea wrote:

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

Thank you,
Antonio

On Tuesday, December 01, 2009 12:08 PM
Steve McManus wrote:

Solution?
Hi,

I'm having almost the same problem - do you ever get a solution to this problem?

Thanks,
Steve


Submitted via EggHeadCafe - Software Developer Portal of Choice

.NET Object Mapper / Code Generator For SQL Server
http://www.eggheadcafe.com/tutorials/aspnet/8a2be546-6c14-4d9c-8ed8-f5cece4363ef/net-object-mapper--code.aspx

Bob Barrows

unread,
Dec 2, 2009, 10:10:37 AM12/2/09
to
Steve McManus wrote:
> Hi,
>
> Did you ever get a solution to this problem?
>
> We're having same issue here.
>
> Thanks,
> Steve
>
>
>
> AntonioONea wrote:
>
> system.web.httpcontext.current.user.identity.name shows old usenam
> 30-Oct-08
>
> 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

You might try posting this to an ASP.Net group such as
microsoft.public.dotnet.framework.aspnet.

There are also forums at www.asp.net where you can find a lot of people
to help you

--
HTH,
Bob Barrows


0 new messages