cancel
Showing results for 
Search instead for 
Did you mean: 

Inviting web users programatically with JAVA

marutiprasad
Champ in-the-making
Champ in-the-making
Hi,

I want to invite users to several web projects in alfresco. I have

    -  Defined the top level Roles and Groups in a property file. Like (ContentPublisher=My_WEB_CONTENT_APPROVERS) and making a MAP<String,String>();
   -  For a AVM store I am using the below code to invite web users/group.
                      
 serviceRegistry.getWebProjectService().inviteWebUsersGroups(
                  _storeNodeRef, _groupRoleMap, true);
   
   but in web client it is not showing the sandbox for other users and no updates in the project users message. It is showing the default "One user is working on this project".

any help would be appriciated.
Thanks
Maruti TM.
2 REPLIES 2

romschn
Star Collaborator
Star Collaborator
Hi,

Have you got this working?

I also have a requirement of inviting users to the webproject through java program.

It would be great if you could please let me know the solution.

Thanks,

romschn
Star Collaborator
Star Collaborator
I got this working.