jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: How can I get the list of all workspaces?
Date Mon, 05 Feb 2007 19:57:45 GMT
Hi,

On 2/5/07, Alexandre Martins <alexandremartins@gmail.com> wrote:
> Someone knows how can I get the list of all workspaces created?
>
> Other question:
>
> How can I get the workspaces by user? (The workspaces that he have access..)

One answer: Workspace.getAccessibleWorkspaceNames()

The method gives you a list of the names of all accessible workspaces.
Use an administrator session to get the list of all workspaces in the
repository.

BR,

Jukka Zitting

Mime
View raw message