开发者

User permissions in WMI

开发者 https://www.devze.com 2023-01-12 15:11 出处:网络
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 permiss

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

精彩评论

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