7 Jun
2001
7 Jun
'01
1:13 p.m.
Peter Bengtsson wrote:
user = context.REQUEST.AUTHENTICATED_USER print user.getRoles()
This is deprecated. bind the namespace and use: _.SecurityGetUser() ...instead. You might also be able to import the same thing into PythonScripts without the namespace, but you'd need to ask Evan... cheers, Chris