Jeremy Stein - Brain

« »

.NET get roles for user

I searched a long time for a C# method to return the roles available for the logged-in user.

I finally found private static string[] GetRoles(IPrincipal princ) at 15seconds.com.

To help Google, some things I searched for were: C# windows roles, asp.net roles for a user

September 29, 2005 No Comments.

No Comments

Be the first to comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

Why ask?

« »