thanks, Got it!
2013/2/28 Cooke, Mark <[email protected]> > > -----Original Message----- > > From: [email protected] On Behalf Of Zhihui Luo > > Sent: 28 February 2013 03:50 > > To: [email protected] > > Subject: [Trac] how to know the logined username in plugin? > > > > Hi everybody! l'm developing a plugin for Trac.How to know > > the logined usernames in plugin? > > Assuming you have access to the req object: > > def process_request(self, req): > loginid = req.authname > > > thanks! > > -- > > > > 骆志辉 > > > > ~ Mark C > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/trac-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 骆志辉 -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
