473,408 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Accessing the Login Information on SPS via ASP .net

Dear folks,
I'm building an ASP .net page and integrating it into my share point portal server 2003 using a webpage viewing webpart. What I need to do is, when the user logs in, I need to be able to capture the log in information and then find a value called 'row id' based on this log on information. This row id, will then be used to look up his information on our sql server. I can fix the second part of the problem, however the first part is something I have no clue yet. So basically , I need to know a way to find out the log in information , where it is basically stored(and if there are permissions that I'll have to overcome) and how to use it in my program. Any pointers would be greatly appreciated.

cheers,

Ranjan
Nov 18 '05 #1
1 987
The asp.net server variables collection will contain most of what you can
get access to in relation to the remote user, basically the authenticated
user name. You'll then need to use that to do your lookup.
--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
"Ranjan as usual" <Ranjan as us***@discussions.microsoft.com> wrote in
message news:73**********************************@microsof t.com...
Dear folks,
I'm building an ASP .net page and integrating it into my share point portal server 2003 using a webpage viewing webpart. What I need to do is,
when the user logs in, I need to be able to capture the log in information
and then find a value called 'row id' based on this log on information. This
row id, will then be used to look up his information on our sql server. I
can fix the second part of the problem, however the first part is something
I have no clue yet. So basically , I need to know a way to find out the log
in information , where it is basically stored(and if there are permissions
that I'll have to overcome) and how to use it in my program. Any pointers
would be greatly appreciated.
cheers,

Ranjan

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

36
by: Thomas | last post by:
after spending countless hours trying, i give up and hope to get some help in here. on server1 i got the web myweb.com with my test.asp. in the test.asp, i'm trying to read a file from an UNC...
5
by: TP | last post by:
Hi, I am doing my first database project using java servlets. We are going along fine but I have a question about how should one access a database. We have the URL, userid and pwd in a text...
10
by: Zest4Csharp | last post by:
hello everyone, How can i tell how many instances of a Class have i created with successive uses of the 'new' keyward in C#? cheers Zest
0
by: Joergen Bech | last post by:
Fairly new to ASP.NET 1.1. Getting the error below when running application on a web server outside of my control, but only the first time I run it: 1. After a long period of inactivity (or...
9
by: Justin Engelman | last post by:
Hi, I have a website that uses an ISAPI filter that will redirect anyone going to any page on the site to an SSL login page (on a different website with the same root domain) if they do not have...
1
by: Jeff Lynch | last post by:
I'd like to add the following attributes to the Login control's Login Button to create a CSS rollover effect. How can I access the control's login button from the page's code-behind? ...
4
by: raj_genius | last post by:
I hav two queries, whc are as follows: FIRSTLY: is it possible to access the controls(by name) of a parent form(MDI) from its child forms??if yes then how??plzz provide a coded example in VB if...
10
by: perplexed | last post by:
After a user logs in (ASP.NET 2.0 membership/roles), how do I programmatically access their UserId and other information stored in the ASP.NET database structure? A user may login at Login.aspx...
4
by: Luqman | last post by:
How can I Prevent user from accessing any page directly without Login ? User should not be able to by pass the Login screen by typing the Url of any page directly. I am using ASP.Net 2.0 with...
3
by: satishknight | last post by:
Hi, Can some one tell me how to change the validation sequence for the code pasted below, actually what I want it when any one enters the wrong login information (already registered users) then it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.