Skip to Content
0
Former Member
Jun 25, 2008 at 02:03 PM

Upload file to KM repository

22 Views

I created a jspdynpage to upload a file into KM repository. In the code I an using objects of IUser as shown below.

com.sap.security.api.IUser epUser = (com.sap.security.api.IUser)request.getUser();

And later using the epUser to create an object of IResourceContext as shown below.

IResourceContext ctx = new ResourceContext((com.sapportals.portal.security.usermanagement.IUser)epUser);

But com.sapportals.portal.security.usermanagement.IUser in teh second line shows the error message IUser is deprecated.

Can anyone please help how to implement the same or any alternatives ??