You are hereSupport Forums
Search:  
Add parameter current user
Last Post 10 Mar 2010 01:38 PM by Richard Edwards. 1 Replies.
AddThis - Bookmarking and Sharing ButtonPrinter Friendly
Sort:
PrevPrev
You are not authorized to post a reply.
AuthorMessagesNot Resolved
Lev Bondarenko
New Member
New Member
Posts:1

--
23 Feb 2010 08:04 AM  
How to restrict query on current dnn user? Example select * from EntryLog where iUser = {currenuser}
Richard Edwards
DNNStuff Founder
Veteran Member
Veteran Member
Posts:1148
Avatar

--
10 Mar 2010 01:38 PM  
Hi Lev,

Sorry I missed this post. I hadn't subscribed myself to it for some reason.

Yes, it's quite easy to do that. You just have to use one of the standard DNN tokens, in your case [User:UserId].

A full list of standard DNN tokens is listed on the wiki here, http://wiki.dnnstuff.com/Tokens_DotNetNuke.ashx




Richard Edwards
DNNStuff Founder
Did you receive excellent support? Consider leaving a testimonial
You are not authorized to post a reply.

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