sid 相关问题


在Python中如何获取Windows中当前用户的SID?

我需要从Python脚本中获取当前登录用户的SID。一种选择是在 shell 到命令提示符命令 whoami /user 时读取返回文本。但这真的很难看。


© www.soinside.com 2019 - 2024. All rights reserved.