Read the username of the current user in a domain

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

Hello

I read many security articles and most of them are targeted at webbased
apps.

To what I learnt, .net supports 2 types of security, Role Based & Code
Based.

What I wanna do is, I want to retreive the username of the current user.

Also as to which groups they belong to.

Is there any sample app which I can see and learn from?

Thanks
HS
 
Back
Top