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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Authentication ...  Switch User
Previous Previous
 
Next Next
New Post 2/7/2007 8:01 AM
User is offline John Hoskins
65 posts
10th Ranked


Switch User 

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/20/2007 10:50 PM
User is offline ericb1
15 posts
10th Ranked


Re: Switch User 

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 11:28 AM
User is offline Briana Tarrance
49 posts
www.virtual-essentials.com
10th Ranked


Re: Switch User 

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!


Visually Control Your CSS Files For DotNetNuke with the veCSSViewer.
Learn more about DNN:
training.virtual-essentials.com
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Authentication ...  Switch User
 


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.

 


Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/
Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -

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