Picking up username in business logic layer...?

154 Views Asked by At

I have a Sharepoint Visual Web Part frontend to an app I'm writing. That might not be relevant to my problem, because really it seems to me the same problem would apply to any ASP.net application.

The app has a business logic class and a data access class. I'm trying to write to a log file from the business layer, but the issue is that I can't figure out how to grab the username of the Sharepoint user from the business layer. Any ideas?

I'm using C# with .net 3.5 and Visual Studio 2010.

Thanks!!

0

There are 0 best solutions below