AnsweredAssumed Answered

how to get user home space via scheduler job

Question asked by shay on Oct 18, 2007
Latest reply on Oct 26, 2007 by kevinr

i have a scheduler job and i want the get the current user's home space when the job runs.
how can i get it?.

i tried to use the
User user = Application.getCurrentUser(context);
String homeSpaceID = user.getHomeSpaceId();
but since i run it from a scheduler i don't know how to get the FacesContext object.

Thanks in advance,