List all the accounts created by one application

This snippet searches and lists all accounts created by given account provider application, basing on its package name. PRIVILEGE NEEDED to be set in tizen-manifest.xml file: http://tizen.org/privilege/account.read