Add new API for getting privilege info as list