To add purge users feature, add custom property ENABLE_PURGE=true in Site Admin->Site Details->Customization
Go to http://<microsite-url>/oltpublish/jsp/user.do?dispatch=changeUsersStatusShow
Note - Replace <microsite-url> with your training site URL e.g. companyname.edubrite.com
On this page you can put all usernames you want to purge as comma separated values and click "Purge (Permanent Delete)".
Please note this feature allows to delete learners only. In case you need to purge an instructor then you need to first change the role to learner.
Adding Purge Users link
Site Navigation menu can be customized using using placements - V2 Navigation. Please check whether custom property - ENABLE_VELOCITY=true is present in Site Admin->Site Details->Customization, if not please add that property before adding the code in V2 Navigation.
Add the below code in V2 Navigation.
For Site Admin It will add a 'Purge Users' menu option under Users menu in left navigation.
${UIContext.getUiManager().getTopNav().getHtml()}
#if ($UIContext.isAdminOrSiteAdmin() )
<script>
$(document).ready(function(){
$("#mnu_UPLOAD_USERS").after("<li><a href='../jsp/user.do?dispatch=changeUsersStatusShow'>Purge Users</a></li>");
});
</script>
#end
|