Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to access windows security  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone.

I'm trying to find a class with methods for accessing the Windows 2k/XP local security. In short, I need to read the members of the local administrators group. I know I could test for admin rights by attempting to write to certain folders or registry keys, but that only tests the local user, and I'd really like to get a list of all members of the local administators group.

Note that this is the local group, not a domain or active directory group. I've found classes for accessing active directory; that doesn't help me in this case.

I've spent hours googling with no success. Terms like "security", "group" and "membership" are just too common.

How does one go about finding pre-written classes for a given need? I'm hoping that ya'll know of some resources that I haven't found.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!