Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Set role for other user
Last Post 04-26-2010 09:11 AM by Candace. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
The DadUser is Offline
going with the flow
going with the flow
Posts:71
Avatar

--
04-24-2010 07:36 AM

    I want to create an admin utility with DF that assignes roles for a user.  I will pass the userid to the form using a querystring variable in the URL..

    How do I ensure that the form completion event to add a role does not add for the logged in user (Admin) but for theuserid passed to the form.

     

    Is this setup in the initial query?

     

    What settings are important , if I can indeed do this?

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    04-24-2010 02:39 PM
    HI, so you want to manage user roles using dynamic forms and traversing to this DF page passing a userid in the querystring? You will need to create an SQL completion event to add that user to the corresponding role then. But simply state:

    1) you can create a hidden field called UserManage or some other shortname field and make sure to set it to retrieve from querystring variable
    2) create an SQL form completion event (perhaps calling a stored procedure and passing the UserManage token) to add that user to whatever role it is you want
    3) you could also pass along the roleid as well along the querystring if you like

    Hope this points you in the right direction. I believe there's forum posting of adding user roles a while back. You could search for that topic to get the SQL you need or create your own. -- David
    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    04-26-2010 09:11 AM

    Let me also add that Dynamic Registration has a Manage User function already built in so you might consider that module instead of Dynamic Forms.  Thanks!

    Candace

    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi