Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 27, 2011 09:12 PM by smirnov
Jun 25, 2011 06:02 PM|LINK
I have one requirement ,when user access my web site I ll check the wheter that user is logging from active directory account , If yes i will have the account name to my session , If suppose a user is having active directory account but he is logging from
administrator account of his Machine , i ll redirect to login page , there they provide the active directory account username and password , that stage i ll check active directory credentials, if satisfied i have to assign
Context.User.Identity to Typed username in the login page. base this my all page will work. This same secianario have to work for
sign in different user concept. This cocept in not working , Can you give me solution for my requirment. Its very urgent please..
Jun 25, 2011 06:13 PM|LINK
Here... you can find same scenario. Try to solve you problem with this example
Jun 25, 2011 06:56 PM|LINK
Thanks for your very valuable reply. I want to explain my requirment clearly, For example I having
XYZ account in my active directory and logging From my Machine of
XYZ, and i m accessing my web site , this time i m getting
context.user.identity.name is XYZ.. now i clicking sign in as diffenrent user link i have my login page , i m providing
ZYX user account name and password from XYZ Machine. At this i have to get on context.user.identity.name is
ZYX but i m getting still XYZ this account name. Is is possible to do with you example?.
Jun 26, 2011 03:15 PM|LINK
Now i can be change the context.user.identity.name in the Login page , but i when it goes to other page its getting empty, How to maintain context.user.identity.name through all page in the web site.
Jun 27, 2011 09:12 PM|LINK
Take a look here: http://support.microsoft.com/kb/326340