There are plenty of examples for Windows Desktop apps that will say whether or not the current user is an Admin.
Here are two
- http://code.msdn.microsoft.com/windowsdesktop/CSUACSelfElevation-644673d3
- http://msdn.microsoft.com/en-us/library/86wd8zba(v=vs.110).aspx
My problem is that I need to check within a Windows 8 Store App and they have a subset of the main .NET api. The stuff around Principals and Role are missing. The Windows.System.UserProfile.UserInformation class looked promising but that was a dead end.
Can it be done?
Thanks