on 09-01-2005 5:07 PM
hi folk,
I have a new WEB Dynpro Application.
I Included 3 new attributes in the UM
now, i want to get this new atthibutes.
how can i get this new custom attributes from the user who is executing the application?
Hello Rafael,
Just my guess - have never tried:
com.sap.security.api.IPrincipal (superinterface of IUser)
getAttributeNamespaces()
getAttributeNames(java.lang.String namespace)
getAttribute(java.lang.String namespace, java.lang.String name)
https://media.sdn.sap.com/javadocs/NW04/SP9/ume/com/sap/security/api/IPrincipal.html
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank Karthick,
your answer was very useful to me.
best regard,
Rafael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rafael,
Whats UM?Just explain it.I'll try to help you.
If you want to get the values of the context attributes,
use this code.
this.wdContext.currentContextElement().//your attribute;
this.wdContext.getNodeInfo().getAttribute(label);
If you r not looking for this answer,tell me your expectation?
Regards,
Karthick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi, Kartick, thank you for you help.
when i say UM, i mean UME (User Management engine).
the topic is:
i want to get some custom attributes (added by me in UME Configuration attribute -> ume.admin.addattrs) from the user who is executing my web dynpro application to display these one on the same WEB Dynpro Application.
how can do that ? what is the java Code to get this attributes?
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.