开发者

User permissions in WMI

Does anyone know which WMI Class is to be used 开发者_开发百科to getting information of which users or user groups have permission for a given folder?


Yes, it's possible to to get and set file permissions via WMI; here's a MS Scripting Guys article with explanation and examples.

...but there are so many better/easier ways to manage security, from CACLS/XCACLS to ADSecurity.dll and more.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜