Code:
listuser {
  var %i = 1
  while $ulist(*,%i).info {
    if $$1 == $ifmatch {
      echo -eag * Level $level($ulist(*,%i)) $ifmatch ( $+ $ulist(*,%i) $+ )
      return
    }
    inc %i
  }
  echo -eag * $1 was not found in the userlist
}