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...Module ForumsModule ForumsSurveySurveyHow do I determine user ID = UsernameHow do I determine user ID = Username
Previous
 
Next
New Post
3/30/2008 10:01 PM
 

I have been playing with the survey module and I think it will work for what I need.

I notice when I export the data it shows the user ID. Is there a way to find out wich user coresponds to that user ID?

Thank you

Jeremy Palmer

 
New Post
5/8/2008 9:44 AM
 

Jeremy:

I don't know if this is what you're asking, but I use:

Convert.ToString(DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo.Username)

Mark

 
New Post
5/8/2008 2:19 PM
 

Not sure. How would I impliment that on the data exported from the survey module.

Thank you,

Jeremy

 
New Post
6/14/2008 2:38 PM
 

Jeremy,

How familiar are you with SQL, how accessible is your database and is your preference to modify the report?

The info you want is in the Users table. A quick and dirty way to get your info is to simply either open up the database in SQL Express Management and open up the Users table or likely opening the SQL module (under the Admin tab) and executing something something like

SELECT * FROM dbo.Users

(If you do the above, you can then copy/paste to a local file for future personal reference)

If you want to modify the report, I'd have to take a look at the code generating the report (I'm a bit lazy at the moment to inspect the code immediately). It likely wouldn't require more than creating a join to the Users table if necessary and displaying the Username column.

Maybe this is something that should be done anyway and contributed to Source...

 
New Post
6/17/2008 2:51 PM
 

I've recently built a registration page by using Survey Module in our intranet. Together I also used the Reports Module to display a report to the user who submits the registration. Here is the post, it may help you solve your problem.

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/136/threadid/234678/scope/posts/Default.aspx

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveyHow do I determine user ID = UsernameHow do I determine user ID = Username


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