I'm developing a new iview in EP 6 SP2 where I want to retreive a resource from the KM, this using the following code:
IResourceContext ResourceContextrContext = new ResourceContext(getUser());
RID aRid = new RID("/documents");
IResourceFactory aResourceFactory = ResourceFactory.getInstance();
ICollection aCollection = (ICollection) aResourceFactory.getResource(aRid, rContext);
The problem is that I receive an error message in Eclipse telling me that it cannot find the classfile for com.sapportals.portal.security.usermanagement.IUser. I went through all the class libraries that I downloaded from the portal to eclipse and can't find the class, this is the pdk ep6 sp2 business package. I also have searched the portal for the file, but without results.
It seems to me that it is the ResourceContext that uses the class.