I have posted a similar question about how to do this in JNDI, but in this post I am thinking that How to do it using any interface
I want to be able to retrieve the user's group name. When I say "group" I mean the group on the computer is like "administrator" or "user"
Can I do this through command line, application, DLL or any kind of interface?
Does anyone know how this can be done? Has anyone done this? Is this an easy job?
From the command line:
Pure user & lt; Username & gt;
or if they are on a domain
net user & lt; Username & gt; / Domain>
Below are 2 sections, local group memberships and global group memberships.
Note: Users can have a lot of groups (8 in my case on work!)
Comments
Post a Comment