User user = helper.loginAsPortalReadOnly();
APIResponse resp = api.getRolesForLoggedInUser(user);
assertTrue(resp.statusCode == Status.SUCCESS);
UserProp prop = (UserProp) resp.object;
assertTrue(null != prop);
assertTrue(null != prop.roles);
assertTrue(Util.isRolePresent(prop.roles, Role.PORTAL_READONLY.toString()));