摘要: 可以使用LookupAccountNameA获取sid。 LookupAccountName函数接受系统名称和帐户作为输入。它检索该帐户的安全标识符(SID)以及在其上找到该帐户的域的名称。 使用此api无需在LocalSystem帐户的上下文中运行。 代码示例:(C ++) #include <W 阅读全文
posted @ 2020-08-21 16:03 strive-sun 阅读(1539) 评论(0) 推荐(0) 编辑