on 10-24-2006 4:11 PM
Hi All,
I have a case where I want to read Portal User Attributes from an application, in this case a WebDynpro.
So i'm interested if it is possible to get Portal-User Attributes into an application in general and in this specific case in a WebDynpro?
Some links to further information would be very nice.
Thanks,
Mladen
Depend on where your attributes are stored. If your UME database is an abap system: just find a bapi to read them.
There are BAPI's to read an ldap source, but I never used them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
I'm interseted in all the things I mentioned: so basicly getting user information from the Portal UME and LDAP into WebDynpro and a BSP.
We don't yet know what our user storing strategy is gonna be. Are we going to store the user information in the UME, LDAP, an Back-End System or in all of them. Besides some tipps and links to usefull information about that are also very welcome!!!
And the half of our web-based applications are
BSP, the other half Web Dynpros. So I'm trying to get every information I can.
So usefull information about everything I mentioned above and also about the advantages of different "user storing strategies" are welcome!
Best Regards,
Mladen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mladen
We're getting beyond a simple "how-to" at this stage! In terms of working out the strategy for storing your users, I think you need to get professional help - this is not a simple "do it this way" answer, but depends on things like how will you authentiacte, will you have external and internal users, do your security people want to maintain an LDAP etc.
Only then, once you know where your users are, do you then worry about how you get the user information. If it's all in ABAP, then it's a function kmodule call etc.
Cheers
Thanks for your answers! A lot of interesting things.
Besides reading from UME, I'm also interested in reading from an LDAP. And that basicly for Java based systems.
What is different when reading from an LDAP?
I've also seen some BAPI's for reading ldap's and abap ume's. But does they also exist for JAVA systems?
And how can User Attributes been read out of UME and LDAP Systems from an BSP?
Every Tipp and Link is welcome!
Best Regards,
Mladen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mladen
If you want to read directly from LDAP, then you will need to use the appropriate Java LDAP classes. Check out <a href="http://www.openldap.org/jldap/overview.html">Open LDAP</a>, for example.
Yes, you can read LDAP from ABAP - check out the function modules that exist such as LDAP_SEARCH. You can also use BAPIs to get user details.
From a BSP, you need to follow the same techniques as Detlev mentioned, by calling portal services.
I think we need to understand what you are really wanting to do - you started off wanting to get user information from a Web Dynpro application!
Hi,
I assume you mean you want to call the UME service to get the user's IUser instance, and then to query this instance.
From a portal component, the following offers some tips: http://help.sap.com/saphelp_nw04/helpdata/en/e8/77e04024040b06e10000000a155106/frameset.htm. You will need a sharing reference for the portal UME service (usermanagement).
From WD, you can do the same thing. The following gives details of using portal services from WD: http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/0357425e060d53e10000000a155106/frameset.htm
If you need more detailed information, please let me know.
Hope that helps.
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the answer!
Maybe some more relvenat stuff.
Regards,
Mladen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe you can pass the values across to the Web Dynpro as parameters using the Application Integrator? Accoring to <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/36/5e3842134bad04e10000000a1550b0/frameset.htm">this link</a>, you can pass across things like <User.[AttributeName]>, so you should be able to get the user's department passed...
For example, ?d=<User.department>&l=<User.locale>&c=<User.country> would append department, language and country...
Like
Department, Language, Country ....
Regards,
Mladen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
can i know what attributes you want to read inside the webdynpro application?
Regards,
Sharadha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.