/**
  * Retrieves access-list of users and groups found in all tags
  * in the text supplied in constructor.
  * @return AccessList-object with users that have permissions for
  *         all tags.
  */
 public function getAccessList()
 {
     $list = new AccessList();
     foreach ($this->mContent as $param) {
         $list->RestrictUsers($param[2]["users"]);
         $list->RestrictGroups($param[2]["groups"]);
     }
     return $list;
 }