on 02-14-2005 3:50 PM
Hi everyone:
it is possible to obtain the role of the user?
Thanks.
Regards.
Eduardo Campos
Hi Eduardo,
of which role are you thinking? In WebDynpro it's not mandatory to have a role. If you think of portal roles, you can have different roles, so the question wouldn't be quite right. Anyhow, you could ask from within which role context a WebDynpro iView has been called...?!
Before going into the details, we'll better wait for the concrete question...
Best regards
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eduardo,
from your other answer I think it is enough to check if the user has got a role (or not). This can be done very easily if you have got the IUser object; for this see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/web dynpro security.pdf page 11/12
Now you can use the isMemberOfRole method, that's all. See https://media.sdn.sap.com/javadocs/NW04/SP9/ume/index.html for details.
Hope it helps
Detlev
Hi Eduardo,
As per my knowledge the role of the user is being specified in the portal.In webDynpro it has to be explicity programmed.
Correct me if I'm wrong.
Regards
Nouf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.