Calv1n Calv1n - 3 years ago 169
C# Question

Get current user's email address in .NET

I would like to know the email address of the user (assuming she's in a typical Windows office network). This is in a C# application. Perhaps something to the effect of

CurrentUser.EmailAddress;

Answer Source

If you're behind a Windows domain, you could always grab their email address out of Active Directory.

Here's an example: http://lozanotek.com/blog/articles/149.aspx

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download