Thanks!
Chad
global $xoopsUser;
if(!empty($xoopsUser)) {
$group = $xoopsUser->getGroups();
if (in_array(1, $group)) { //or whatever the groupid is
echo "you are authorized to view this material";
}
else {
echo "you are not authorized to view this material";
}
}
else
echo "not logged in";