on 07-20-2009 2:30 PM
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,
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.