Skip to Content
avatar image
Former Member

getting current login id

I read in one of the forums where the current userid was retrieved. There was a code example with a not to add the following to the class path: "C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.security\lib\com.sap.security.api.jar"

I'm not quite sure how to add this to my class path, but I assumed thru the window>preferences>import in the developer studio. Is this correct? If so, when I try to import I get a weird message stating the preference export file contained an invalid entry.

Can anyone help me? Thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 17, 2005 at 02:32 PM

    Hi Steve,

    You should do the following:

    Right click on your project -> properties -> java build path -> libraries tab -> Add external JARS and add your jar to the project

    Good luck

    Regards

    Yoel

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 17, 2005 at 03:43 PM

    Hi Steve,

    Right click on webdynpro project->properties->Java Build path->Libraries->Add variable-> Eclipse home->extend->plugins->com.sap.security->lib->com.sap.security.api.jar.

    Hope this helps you

    Regards

    Rohit

    Add comment
    10|10000 characters needed characters exceeded