Delete all the accounts created by one application

This code snippet deletes all the accounts registered on a device basing on the package name of the app that created an account. PRIVILEGES NEEDED to be set in tizen-manifest.xml file: http://tizen.org/privilege/account.read http://tizen.org/privilege/account.write