As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
public void getHomeFolder(AuthenticationDetails ad, String userName) { AdministrationServiceSoapBindingStub admin = WebServiceClient.getAdministrationService(ad); UserDetails ud= admin.getUser(userName); NamedValue[] nv = ud.getProperties(); for (int i = 0; i < nv.length; i++) { if (nv[i].getName().equals(Constants.PROP_USER_HOMEFOLDER)) { // nv[i].getValue() is [b]workspace://SpacesStore/48216e2b-285e-11dd-9cfe-3d992136d06f[/b] ????????????????????????????????????????????????????? break; } }
Query q = new Query(Constants.QUERY_LANG_LUCENE, "ID:\""+nv[i].getValue()+"\""); QueryResult qr = rep.query(new Store(Constants.WORKSPACE_STORE, "SpacesStore"), q, true); ResultSet rs = qr.getResultSet(); if(rs.getTotalRowCount()>0) { // Well I have the node }