简体   繁体   中英

How to get current logged in user SID

How to get the current logged in user's SID in metro C#/XAML?

WindowsIdentity class no longer seems to be available. Do I need to do a WinRT component DLL of some sort to get this functionality?

根据您要完成的工作,可以通过Windows.System.UserProfile.UserInformation类获得用户信息(而不是SID)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM