IBM Connections: Removendo membros de uma Comunidade via wsadmin
Procedimento para remoção de membros de uma comunidade
Removendo os membros via wsadmin.sh
1) Via terminal Linux, conectar na máquina do DMGR e realizar o sudo
# cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin
2) Executar wsadmin.sh
# ./wsadmin.sh -lang jython -username wsadmin -password <ALTERAR_SENHA> wsadmin> execfile("communitiesAdmin.py") Connections Administration initialized
3) Escolha um dos nodes para conectar
1: WebSphere:cell=connectionsCell,name=CommunitiesAdmin,type=LotusConnections,node=connwas02Node,process=clCommunities_server2 2: WebSphere:cell=connectionsCell,name=CommunitiesAdmin,type=LotusConnections,node=connwas03Node,process=clCommunities_server3 3: WebSphere:cell=connectionsCell,name=CommunitiesAdmin,type=LotusConnections,node=connwas04Node,process=clCommunities_server4 4: WebSphere:cell=connectionsCell,name=CommunitiesAdmin,type=LotusConnections,node=connwas05Node,process=clCommunities_server5 Which service do you want to connect to?
4) Crie uma lista com os emails a serem removidos
wsadmin> listmembers=["[email protected]", "[email protected]", "[email protected]"]
5) Execute a remoção
wsadmin> CommunitiesService.removeMembersFromCommunityByEmail("<NOME_DA_COMUNIDADE>",listmembers) removeMembersFromCommunityByEmail request processed
Para verificar basta olhar na lista de membros.
Para mais usuários repita os passos 4 e 5.