Hello,
I want to allow all users on our company intranet (domain\handle) to enter
our website. However, I would like to capture the handle of the person
entering my website. I was told that if I turn on Enable Anonymous Access
and Integrated Windows Authentication, that all users will pass through, and
there is a way to capture their handle. Is this possible?
Right now I have Integrated Windows Authentication turned on and using the
following to capture the handle:
strSubmitterHandle = Mid(User.Identity.Name, InStrRev(User.Identity.Name,
"\") + 1)
Any help with this would be appreciated.
--
Thanks in advance,
sck10 4 1439
if you turn on anonymous, then the users id is not passed to the webserver.
"sck10" <sc***@online.nospam> wrote in message
news:Oo**************@TK2MSFTNGP05.phx.gbl... Hello,
I want to allow all users on our company intranet (domain\handle) to enter our website. However, I would like to capture the handle of the person entering my website. I was told that if I turn on Enable Anonymous Access and Integrated Windows Authentication, that all users will pass through, and there is a way to capture their handle. Is this possible?
Right now I have Integrated Windows Authentication turned on and using the following to capture the handle:
strSubmitterHandle = Mid(User.Identity.Name, InStrRev(User.Identity.Name, "\") + 1)
Any help with this would be appreciated. -- Thanks in advance,
sck10
Thanks Bruce for your input.
Hi sck10,
Based on my understanding, your question is: it possible to capture the
user identity while both Anonymous Access and Integrated Windows
Authentication are enabled? If I've misunderstood anything, please feel
free to post here.
When Anonymous Access is enabled in IIS, IIS will authenticate using a
pre-determined account and the request will use the default ASP.Net
account. Once this is set, no authentication will be made against the user
regardless of any other selected authentication modes.
If we want authenticated request to obtain the user's actual identity, we
need to deselect the Allow Anonymous with IIS.
Hope this helps. Please feel free to post here if anything is unclear.
Regards,
Walter Wang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Thanks Walter, appreciate the help...
"Walter Wang [MSFT]" <wa****@online.microsoft.com> wrote in message
news:2d*************@TK2MSFTNGXA01.phx.gbl... Thanks Bruce for your input.
Hi sck10,
Based on my understanding, your question is: it possible to capture the user identity while both Anonymous Access and Integrated Windows Authentication are enabled? If I've misunderstood anything, please feel free to post here.
When Anonymous Access is enabled in IIS, IIS will authenticate using a pre-determined account and the request will use the default ASP.Net account. Once this is set, no authentication will be made against the user regardless of any other selected authentication modes.
If we want authenticated request to obtain the user's actual identity, we need to deselect the Allow Anonymous with IIS.
Hope this helps. Please feel free to post here if anything is unclear.
Regards, Walter Wang Microsoft Online Community Support
================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
You're welcome. Please feel free to post here if anything is unclear.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Roohi |
last post by:
hi
I am trying to copy an image to a clipboard and then get a
handle to the clipboard using API calls GetClipboardData().
Following is the snippet of our code. Could any one please
point out...
|
by: AbraAbraCadabra |
last post by:
Here is the code I have been using to send mail...
Set objCDO = Server.CreateObject("CDO.Message")
With objCDO
.To = strTo
.From = "markus@domain.com"
.Subject = "This is the...
|
by: troywalker |
last post by:
I am new to LDAP and Directory Services, and I have a project that
requires me to authenticate users against a Sun Java System Directory
Server in order to access the application. I have found...
|
by: JP2006 |
last post by:
I'm trying to write a control that will take a screen capture of a
particular website when a user submits a form in a web application; one
of the form fields is for a URL - the control needs to get...
|
by: smahdis |
last post by:
Hello Friends,
I am new to this Forum. Let me ask my question straightly
I faced a problem in vb 2005 and that is: I want to send Email using System.net.mail but I couldn't find anything about...
|
by: numberwhun |
last post by:
I am having an issue with understanding something in the WWW::Mechanize module. I have a website which I want to download a whole plethora of pdf files from. It is a site that I have paid to access...
|
by: chrisstorm |
last post by:
hi,
I know there are many examples and codes out there, I spent plenty of time searching around but still haven`t found what I am looking for (great - sounds like a song from U2).
I have to...
|
by: noviceadmin |
last post by:
dear all
I have to make a software using VB 6.0 in which the web cam should capture the image and store it in Ms access .
Please provide me the complete code and procedure if possible as i am...
|
by: noviceadmin |
last post by:
dear all
I have to make a project using visual basic 6 and ms access with a web cam to capture the image and store it in ms access datbase
please provide necessary guidelines, code and the...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |