cancel
Showing results for 
Search instead for 
Did you mean: 

Obtain user spaces from a Java bean backed webscript

klaatu
Champ in-the-making
Champ in-the-making
Hello!

I have a Java bean bound to a webscript and I need to obtain from that bean all the spaces for the current user.
How can I do that?

Thanks in advance.
2 REPLIES 2

klaatu
Champ in-the-making
Champ in-the-making
I think I have not explained it well.
The aim is to obtain from the bean all the spaces that the current user has be given permission on.
Could it be done?

Thanks.

davidc
Star Contributor
Star Contributor
You can inject the PermissionService and use the findNodesByAssignedPermission method.