Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Authentication and authorization

Status
Not open for further replies.

kyledunn

Programmer
Jan 2, 2001
145
US
I'm working with an ASP.NET app. I've set the authentication mode in the web.config file to Windows and configured and tested authorization. It works great! Now I'm attempting to control the code in my aspx.cs page with the user's identity. I'm writing the code to access the user's identity. I have an example of the process written in VB.NET and now I need to convert it to C#. For instance I converted the <%Import Namespace=&quot;System.Security.Principal&quot; %> to &quot;using System.Security.Principal&quot;. I'm working through the rest but thought I'd ask if anyone has the C# syntax worked out. Can anyone help?

Kyle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top