AnsweredAssumed Answered

Javascript API - group membership

Question asked by stebans on Apr 27, 2007
Latest reply on Jun 13, 2007 by stebans
Hi,

I would like to make a user member of a group depending on information extracted from ldap.
I use Alfresco 2.0 CE and I think the people API doesn't (yet?) support a setMember method, nor a createGroup method. Or this could maybe be accomplished through the Node API?

If not, what best alternative do I have? Is there a way to call the Alfresco repository API or the JCR API to add user to a group? it's impossible to script Java classes with importClass or importPackage, so do I need to add a custom Script API ?

Thanks!
stephane

Outcomes