Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Win32_AccountWMIのクラスにはLocalAccountブール型のプロパティがあります。残念ながら、SECURITY_LOGON_SESSION_DATA呼び出しによって得られる構造体はそうでLsaGetLogonSessionDataはありません。セキュリティ識別子SID とログオン識別子LUIDを持つ、WMI のようにアカウントがローカルかどうかを確認する最善の方法は何ですか?
Win32_Account
LocalAccount
SECURITY_LOGON_SESSION_DATA
LsaGetLogonSessionData