Format SQL query string using asp:loginname

  • Thread starter Thread starter Loopsludge
  • Start date Start date
L

Loopsludge

ASP.NET 2.0/ SQL Server 2005/ Login Controls

Does anyone know how to format a SQL query string using asp:loginname
in the WHERE clause?

Alternatively would I need to store the login name upon login w/in a
Session variable?

Can someone give me an example?

Thanks,
Loopsludge
 
login control, requires you to install Role Management schema for
SQL.(I think)
 
Well you could use a parameter for the where clause and then set that
parameter to be a ControlParameter that with the ControlID property set to
the ID of your <asp:LigonNAme> control.
 
Sounds reasonable. Do you have an example on how that may look?

Loopsludge
 

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

Back
Top