I want to look at what permissions my application is granted at runtime.
I mean I want to get the same result as caspol.exe - resolveperm returns.(I want to do it in C# code).
what code should I use?
Resolve permission
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Mar 11, 2010, 11:47 AM EST
anooshiravan keshavarzi25 reputationPosted Mar 14, 2010, 10:20 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Mar 14, 2010, 3:17 PM EDT
Note that there is probably a difference between a user's (account's) permissions and the application's permissions. I don't know much about application permissions.