Solved

Using User.Identity.Name as a parameter

Posted on 2010-08-21
1
278 Views
Last Modified: 2012-05-10
Hi,

I have SQL statement that has a where clause.  I'd like to filter it by using the value contained within:

User.Identity.Name

Not sure how to call this from the Objectdatasource.

Is it held within a session?
0
Comment
Question by:andyw27
1 Comment
 
LVL 20

Accepted Solution

by:
informaniac earned 500 total points
ID: 33491335
This will be available only when u r using NT Authentication.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Handle null when using linq in this line 1 26
Calling stored proc in EDMX 11 24
Asp.net mvc 5 5 43
Code works but I need to redo it and assign values to Model 7 33
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now