A plugin page must be shown to each user with different content.
I have got the user role id, using the below code.
$id = OW::getUser()->getId();
$roleid= BOL_AuthorizationService::getInstance()->findUserRoleList($id);
$rolename=($roleid[0]->name);
$userroleId=($roleid[0]->id);
Using this $userroleId, I can able to display different content for each user role.
But some plugins like, Groups and other plugins using,
BOL_Authorization
How to do that?