Hello,
I have a webapplication which displays certain components, based on Group Membership. Now I'm using the Active Directory plugin and all users can succesfully login on the DNN webpage. On my own webcontrol, I found a solution to retrieve the username. Now all I need is a method to list all the Groups, which this user is member of. To list the groups you must be the user self, or you must have sufficient read rights on the Active Directory. I don't want to use an Administrative account for this purposes.
Now I have two questions:
1. Is it possible for me to somehow retrieve the System.Directoryservices.DirectoryEntry object of the logged in user? With this I will be able to query his group membership.
2. I created a user on the domain: DNNBROWSER. This account must be able to browse through the active directory and be able to search the groups of which a certian user is member of. I just don't know how to set the permissions for this user. Can someone help me or give me a goor URL?
Many thanks in advance