Re: Send current user token to IIS server
- From: "Roger Abell [MVP]" <mvpNoSpam@xxxxxxx>
- Date: Sat, 26 Aug 2006 09:44:51 -0700
Well, I am not active much as a general dev these days, but I am
wondering why you do not set a reference to the IE shadoc and
use it's methods and then access the result using the dom.
"Jan Kucera" <kucera@xxxxxxxxxxxx> wrote in message
news:6422AD48-82B6-4266-9DC2-FA7DAB572F3C@xxxxxxxxxxxxxxxx
Okay, I will. Thank you for your answer.
What I'm trying to do is to make a XmlHttp request with the token set as
the IE sets when in local network. The reason is simple, I do that from
VBA and the client has requested to have single-sign-on, so that he
doesn't have to provide his credentials in the application. As you can see
this is not my idea, but I have to try my best to ..try it.
Thanks for answer,
Jan
"Roger Abell [MVP]" <mvpNoSpam@xxxxxxx> wrote in message
news:u2QzidNyGHA.3512@xxxxxxxxxxxxxxxxxxxxxxx
I doubt that your issues is gettig the token but in marshalling it in way
that the remote wants. Many of us are probably sitting back thinking
"what the . . . " is this app design actually trying to do? Most often
if communicating within a domain context where the token would be
of any use (i.e. would be understood) one does not need to manipulate
them to have an authenticated remote connection as the subsystems will
handle that for you (unless perhaps you have written a service that is at
the other end and that is not leveraging what Windows provides)
I would suggest that you post into one of the MSDN forums.
"Jan Kucera" <kucera@xxxxxxxxxxxx> wrote in message
news:522F668D-26F4-4919-A1FF-AB7D857B0655@xxxxxxxxxxxxxxxx
Nobody knows the API to get the current user token?
"Jan Kucera" <kucera@xxxxxxxxxxxx> wrote in message
news:43CB9919-FDDE-452C-8CC2-0CA1BCD62070@xxxxxxxxxxxxxxxx
Hi,
in VisualBasic I use MSXML to send HTTP request. I know that in
intranet, the IE sends user token in the request header to enable
single-sign-on. I would like to get this token from my app and send it
with my request for the same reason. How can I get the correct token
and format it accordingly?
Thank you,
Jan
.
- Follow-Ups:
- Re: Send current user token to IIS server
- From: Jan Kucera
- Re: Send current user token to IIS server
- References:
- Send current user token to IIS server
- From: Jan Kucera
- Re: Send current user token to IIS server
- From: Jan Kucera
- Re: Send current user token to IIS server
- From: Roger Abell [MVP]
- Re: Send current user token to IIS server
- From: Jan Kucera
- Send current user token to IIS server
- Prev by Date: Re: I have just visited a hacked site... visit another!
- Next by Date: Re: DOS game crashes XP
- Previous by thread: Re: Send current user token to IIS server
- Next by thread: Re: Send current user token to IIS server
- Index(es):
Relevant Pages
|