Hello All,
I am working in a Windows NT domain environment, working with C#. What
I want to be able to do is view all the groups a user belongs to, and
also be able to add the users to groups.
I want to be able to enter a user name and then get it to diaplay all
the groups this user belongs to. Are the groups a user belongs to
stored as child entries under the user, or are users child entries
under groups, or am I way off track.
I have no problems listing all the users, and all the groups, I can
also add, delete and edit users and groups, just can't find what
groups a user belongs to.
If I use this
DirectoryEntry groups = new DirectoryEntry("WinNT://ARGPDC/R OWA
Access,group");
to find a group, am I able to determine what users belong to it from
this?
Please let me know if I have explained myself clearly and if more
information is needed.
Thanks
James