Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 206
  • Last Modified:

Setting up a User Specific Data Web Application

I'm making an intranet website and I am making a user specific website that has a login and authentication for each sales rep. I'm new to ASP but I was able to create a membership application with my sql server and visual studios authorization process, I'm trying to figure out how to query all my reports to the sales rep name that logs in. What's the best process to go about this. I've found a bunch of resources to create the login but can't seem to find anything to link a Gridview or other control to the login name.
0
Southern_Gentleman
Asked:
Southern_Gentleman
  • 2
  • 2
2 Solutions
 
CodeCruiserCommented:
You can use the Membership.User class to get details of the currently logged in user and then can filter the grid on user name.
0
 
Kamal KhaleefaInformation Security SpecialistCommented:
as mentioned above ; get the user details and pass them to your grid to filter content or give access based on that user name
0
 
Southern_GentlemanAuthor Commented:
I think I'm going about this the wrong way. I found some things on using querystring in the url and then query my gridview to the URL. I found some stuff on C# but I want to use it in VB
0
 
CodeCruiserCommented:
If you pass username in query string, anyone can change that.
0
 
Southern_GentlemanAuthor Commented:
Ok, Thank you. I ended up making a  class for HttpContext. Seems a lot more secure than just a query string.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now