Maybe,by using the class "PackageManager" could get UserSecurityId property(SID),but this class Applies to desktop applications only. How can I get the SID on Metro style applications?
Hi,
PackageManager.FindUsers method is used to enumerate the users who have installed a package. Then your desktop app can iterate it and finally get SID via PackageUserInformation.UserSecurityId property.
However, I think there is no way to enumerate which users installed Metro Style App package. If so, it probably cause some security issues.
Best wishes,