AnsweredAssumed Answered

get current user from actioncontext in javascript

Question asked by bvsoest on Jun 1, 2007
Latest reply on Jun 1, 2007 by kevinr

I need some help accomplishing the following:

I created a custom action, Subscribe, and added it to the space menu. This action triggers a javascript and gets as it's parameter. Using search.findnode I can find the node.
In the script I would also like to get the current user.
How can I do this?
Where can I find more info about the actionContext object.
Can I pass other (actionObject) properties, i.e. current user, as a parameter.
What I need eventually is e-mail subscription functionality with which a user can subscribe himself to a space

Thanks in advance for any info!
Regards, Berno.