Node getProfileNode(Session session, String userName) throws PathNotFoundException, RepositoryException
   {
      return (Node)session.getItem(service.getStoragePath() + "/" + JCROrganizationServiceImpl.STORAGE_JOS_USERS + "/"
         + userName + "/" + JCROrganizationServiceImpl.JOS_PROFILE);
   }
Node getProfileNode ( Session session , String userName ) throws PathNotFoundException , RepositoryException { return ( Node ) session . getItem ( service . getStoragePath ( ) + "/" + JCROrganizationServiceImpl . STORAGE_JOS_USERS + "/" + userName + "/" + JCROrganizationServiceImpl . JOS_PROFILE ) ; }
Returns the node where profile of defined user is stored.