Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

IUser - getTransientAttribute(...)?

Hi,

the method setTransientAttribute(String namespace,String name,Object o) of class IUser requires a namespace.

What is this namespace?

I would like to use this method in different Webdynpro applications running parallel, so that I can access the attributes across the applications.

Regards

Meesum

replied

MK,

This just a string that helps to avid name conflicts for attribute name, same as with XML.

SAP has 3 reserved namespaces:

IPrincipal.DEFAULT_NAMESPACE

= "com.sap.security.core.usermanagement"

IPrincipal.DEFAULT_RELATION_NAMESPACE

= "com.sap.security.core.usermanagement.relation";

IPrincipal.TRANSIENT_NAMESPACE

= "$transient$";

Good practice is to give name in form com.company.application.module -- i.e. same as Java package.

VS

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question