You are here Support Forums
Search:  
username as token?
Last Post 23 Jun 2010 09:39 AM by rheingold. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
rheingold
New Member
New Member
Posts:16

--
23 Jun 2010 04:43 AM  
Hi there,

can I use the username inside of a query?
We use DNN as an intranet and all users are registered users.

I would like to use the username to query some tables.
Users should not be able to enter a username, for security reasons.

Best regards,

Jörg
Richard Edwards
DNNStuff Founder
Veteran Member
Veteran Member
Posts:1149
Avatar

--
23 Jun 2010 07:36 AM  
Hi Jörg,

Yes, you can use any of the standard DNN tokens in the query. For the username you would use [User:username].

Here is a list of all the other standard DNN tokens you can use, http://wiki.dnnstuff.com/Tokens_DotNetNuke.ashx



Richard Edwards
DNNStuff Founder
Did you receive excellent support? Consider leaving a testimonial
rheingold
New Member
New Member
Posts:16

--
23 Jun 2010 09:39 AM  
Hi,

thank you for the quick reply.
Works fine :)

Best

Jörg
You are not authorized to post a reply.

Active Forums 4.1
Privacy StatementTerms Of UseCopyright (c) 2004-2012 DNNStuff