cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the instance of IUMParameters?

0 Kudos
170

Hi,

I have a use case where I have to check ume.superadmin.activated property is true or false. I was gone through the API's https://help.sap.com/doc/javadocs_nwce_current/7.2.1/en-US/se/com.sap.se/index.html and found that UMFactory.getProperties() api provide the object of IUMParameters and then i can get the values for the required property. But UMFactory.getProperties() api is deprecated, is there any alternate api for it or any other way to get this property value?

Accepted Solutions (0)

Answers (1)

Answers (1)

S_Sriram
Active Contributor
0 Kudos

Hi Saurabh.

Refer the SAP Note https://launchpad.support.sap.com/#/notes/2492140

Regards

SS

0 Kudos

Thanks, Sriram for the comment. I am looking from the coding point of view, how we can read those properties in our custom services/components which is deployed on the NetWeaver. There is API for it but that is deprecated so I am looking for alternate API which replaces it.

 IUMParameters parameters = UMFactory.getProperties(); //Deprecated
 String status = parameters.get(IUMParameters.UME_SUPERADMIN_ACTIVATED);