更新时间:2023-11-29 14:13:04
您可以使用 GetFileSecurity()和 AccessCheck()功能。阅读Aaron Ballman关于如何检查访问权限的文章。他提供了 CanAccessFolder()
函数来做你所要求的。
You can use GetFileSecurity() and AccessCheck() functions. Read the Aaron Ballman's article on How to Check Access Rights. He provided the CanAccessFolder()
function to do what you asked.