cancel
Showing results for 
Search instead for 
Did you mean: 

Where to download UME API

Former Member
0 Kudos

Hi ,

I need to use UME API in my webdynpro application ..can somebody please tell me that where to find the UME API jar file ?

Thanks,

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

U have to import these statements,

import com.sap.security.api.IUser;

import com.sap.security.api.UMException;

import com.sap.security.api.umap.IUserMappingData;

import com.sap.security.api.umap.NoLogonDataAvailableException;

Refer this thread,

https://wiki.sdn.sap.com/wiki/display/EP/PointersforTroubleshootingPortalRuntime+Errors

Code

import com.sap.security.api.*;

import com.sapportals.portal.prt.component.*;

IUserFactory iuf;

ISearchResult isr;

IUser user

String userid;

iuf = UMFactory.getUserFactory();

isr = iuf.getUniqueIDs();

you will need to iterate the ISearchResult object but you can get IUser objects by

userid = (String)isr.next();

user = iuf.getUser(userid);

Regards,

Sunaina Reddy t

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

U need to add com.sap.security.api.jar file to the project .

u get this file in NWDS pluins.

<installation dir>\SAP\IDE\IDE70\eclipse\plugins\com.sap.security_2.0.0\lib

Regards,

Srikanth

Edited by: Srikanth Thatipally on Jul 20, 2009 3:38 PM

Edited by: Srikanth Thatipally on Jul 20, 2009 3:50 PM