On Fri, Jan 22, 2010 at 4:38 AM, Erik <[email protected]> wrote:
> Hi,
> I'm writing a plugin for trac that implements the IHTMLPreviewRenderer. From
> that plugin i would like to get the currently logged in user's username.
> I've found a few references to hdf['trac.authname'] but i have no idea how to
> get hold of that variable from within my plugin...
> I'm sure there is a simple solution for this but i can't figure it out.
>

req.authname

;o)

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
TracGViz plugin downloaded more than 1000 times (> 300 from PyPI)  -
http://feedproxy.google.com/~r/simelo-en/~3/06Exn-JPLIA/tracgviz-plugin-downloaded-more-than.html

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to