开发者

Listing All Accounts and groups with Rights

So what I am doing is creating an automated server documentation app for disaster recovery. On开发者_JAVA技巧e of it's documentation sections is to essentially dump the following info into a word document: gpedit.msc > Windows Settings > Security Settings > Local Policies > User Rights Assignment.

Now I have used the code found here and it works like a charm. The problem is that it only gets the Rights for one user at a time. I am looking for a way to enumerate all users and groups that have any kind of privilege on a machine, does anyone know where I can start with this?

Thanks.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜