def get_repositories(self):
<EOL>if not self._can('<STR_LIT>'):<EOL><INDENT>raise PermissionDenied()<EOL><DEDENT>else:<EOL><INDENT>return self._provider_session.get_repositories()<EOL><DEDENT>
Gets all ``Repositories``.

        In plenary mode, the returned list contains all known
        repositories or an error results. Otherwise, the returned list
        may contain only those repositories that are accessible through
        this session.

        return: (osid.repository.RepositoryList) - a list of
                ``Repositories``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*