Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationSwitch UserSwitch User
Previous
 
Next
New Post
2/7/2007 11:01 AM
 

I am using AD not in mixed mode.  But that makes it difficult to log in without the Admin view in place since the Role is assigned automatically when I access the site.  I have created a module which will allow me to create a new user and switch between the 2. 

When a user has Edit access to a page, the "Switch User" icon shows up.  When the icon is clicked, the postback renames the current user's name as <username>_SWAP and then redirects the user through windowssignon.aspx.  Since the username doesn't exist, the system will automatically go to AD and create a new user.  Now the user is in as the swapped user and therefore doesn't have Edit rights.  The switch user will recognize that a SWAP users exist and will display the icon.  Clicking it again will take care of renaming the users so that the admin user is again active.  In admin mode you can go in and change the Roles the switch user has, click the swith user icon and then test as a user under those roles.  This will not work for Superuser/host accounts.

Could anyone else use this functionality?  Would it be worthwhile for me to clean up my code and make it available to the community?

 
New Post
3/21/2007 12:50 AM
 

Thanks for the post.  I'm having a similar issue where we have a group of users who are Active Directory Domain Admins, so when they go to our site, they're automatically being given admin rights to administer the site.  I'm trying to find a way to stop this.  I want them to see the site without the admin credential from dnn.

Is there a way to remove or change the admin account in dnn so that it won't syncronize with my Active Directory domain admins?  I was trying to change the Admin account to "site_admin" or something different.  Even if I had to log out and then log back in would be fine.

Any help is appreciated, thanks!

 
New Post
6/23/2008 1:28 PM
 

I see that I am a bit late on this post, but I would be very interested in this. Please post this as it would be very useful for us. Thanks!


Check out the open source DNN Testimonials project on CodePlex and help build it!
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationSwitch UserSwitch User


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out