我的Vista应用程序需要知道用户是"以管理员"(提升)还是以标准用户(非提升)方式启动它.我怎样才能在运行时检测到它?
uac elevation windows-vista windows-7
elevation ×1
uac ×1
windows-7 ×1
windows-vista ×1