Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Authentication ...  List SecurityGroup membership based on Login
Previous Previous
 
Next Next
New Post 12/19/2006 3:09 AM
User is offline Tweek
3 posts
www.cu4it.com
10th Ranked


List SecurityGroup membership based on Login 

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

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Authentication ...  List SecurityGroup membership based on Login
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com
Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca
Vekkin Solutions
Vekkin Solutions provides complete website solutions and custom module development to churches and small businesses.
www.vekkin.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP