调用此方法获取登录SID与 CAccessToken 对象。
bool GetLogonSid(
CSid* pSid
) const throw(...);
参数
- pSid
为 CSid选件类 对象的指针。
返回值
如果成功,则返回 true;如果失败,则返回 false。
备注
如果 pSid 是无效的值,在调试版本中,断言会出现错误。
要求
Header: atlsecurity.h
调用此方法获取登录SID与 CAccessToken 对象。
bool GetLogonSid(
CSid* pSid
) const throw(...);
如果成功,则返回 true;如果失败,则返回 false。
如果 pSid 是无效的值,在调试版本中,断言会出现错误。
Header: atlsecurity.h