Can ASP determine user's SharePoint Login ID?

K

Kevin John

I have SharePoint handling logins to a secured subweb. Is there a way to
determine in ASP what ID the user has logged in with?

(I'm using ASP - not .NET)
 
K

Kevin Spencer

No.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.
 
C

clintonG

Actually, the answer is yes -- indirectly -- which does not contradict
Kevin's response because doing so depends on a couple of fundamental
factors, the first of which depends on whether SharePoint is being hosted so
a web developer can access the SharePoint WebPart controls and the second
whether you have a healthy bank account to make it happen.

<%= Clinton Gallagher
 
K

Kevin John

It is an in-house server, so I have direct access to it. It's only a Win2k
server right now, but will be getting upgraded in the near future. Please,
tell me more.

Kevin
 
K

Kevin Spencer

ASP.Net can, but ASP cannot.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.
 
K

Kevin John

Ok. We will be upgrading to .NET very soon. How do I go about it with
ASP.NET?

Kevin John
 
C

clintonG

I don't know why Kevin Spencer is so single minded on this issue because its
correct that ASP can not be used to grab the UserID "directly" but if you
have access to the SharePoint WebPart that does the form validation (which
you confirm you do) the use of ASP.NET can be used to capture and hand-off
the values involved to an ASP application "indirectly." You need ASP.NET
code to grab the values during the login and write to a temporary table or
an XML file where the ASP application can pick it up and do something with
it.

This can also pose a security risk by exposing a user's ID but on an
Intranet the risks are easier to minimalize. What approach to use is
philosophical at the moment. It seems your planning to migrate your ASP
applications to ASP.NET anyway so why not just wait or get busy on the
migration now?

In any event, I have SharePoint on a disk that I haven't had installed for
over 6 months as I've downsized from Windows Server 2003 to XP Pro for the
ASP.NET development I'm involved with (for the time being) and I could not
answer any further questions regarding the specific implementation which
would best be discussed in the SharePoint newsgroup
news://microsoft.public.sharepoint.windowsservices

<%= Clinton Gallagher
 
K

Kevin Spencer

Well, Clinton, you said it yourself. While one *could* *indirectly* get the
information *through* ASP, it would require ASP.Net to actually retrieve the
information and then pass it off to ASP. Of course, this negates the
necessity or usefulness of employing ASP at all, since in either case,
ASP.Net is required. Therefore, I answered according to logic. I was not
interpreting the question as hypothetical, but as practical. Hypothetically,
one could employ ASP *in conjunction with other technologies* to do
virtually anything, but it would be a mere intellectual exercise. For all
practical purposes, the capabilities of ASP are highly limited, particularly
when there are other technologies, such as ASP.Net, which is the underlying
technology used in SharePoint web sites, which can do it without any
assistance whatsoever.

I do agree that the newsgroup you posted is the correct place to get
information about this. In fact, SharePoint is such a specialized technology
that Microsoft is splitting FrontPage into 2 separate development tool kits,
one of which is solely for SharePoint.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.
 
C

clintonG

I've heard about the rebranding of FrontPage but you infer two separate
instances?

<%= Clinton Gallagher
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top