cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Users & Groups

kyriakos
Champ in-the-making
Champ in-the-making
I want to delete the users/Groups from alfresco so i add only some OUs…now that i find the way..is it possible to delete all the users somehow?
5 REPLIES 5

dward
Champ on-the-rise
Champ on-the-rise
If the users all came from an LDAP directory, just modify your personQuerys so that they exclude those OUs and then wait for the synchronization CRON job to kick in and delete the users.

Only the scheduled synchronization job performs deletions. You can control the frequency of it using the synchronization.import.cron property.

synchronization.import.cron=0 0 0 * * ?

See this page for the CRON expression syntax http://www.quartz-scheduler.org/docs/tutorial/TutorialLesson06.html

If you are using a subset of users in your directory, it's important that you also set this property to false, so that people excluded by the synchronization query don't get 'default' user objects created for them an can't still authenticate.

synchronization.autoCreatePeopleOnLogin=false

kyriakos
Champ in-the-making
Champ in-the-making
thank you, you covered me by all angles !!!!!!!!!!!!

kyriakos
Champ in-the-making
Champ in-the-making
althought i set the trigger to
0 0/5 * * * ?
it doesn't import anything…tomcat platforms stands still…
synchronization.import.cron=0 0/5 * * * ? here it is i believe it is right

dward
Champ on-the-rise
Champ on-the-rise
Where did you set it? You need to set it in alfresco-global.properties as it belongs to the synchronization subsystem.

kyriakos
Champ in-the-making
Champ in-the-making
thanx mate  Smiley Very Happy