Accessing the Enterprise Portal user name

Hi All
I want to access the name of the user who has currently logged into the portal.  And this username, I wanted to display in my .NET PDK portal application.
Please suggest a solution to this.
-Vijay

Hi vijay,
I have develpoed poratal application in Java.
Here we have got specific interfaces like IUSER,UMFACTORY in the PDK.
we import usermanagement.jar for using this .
These interfaces have got defined methods to get the current logged in info from the UME.like getDisplayName(),getUserId();getEmail() etc
I guess in .net PDK u will  have same kinda API defined.
got ny clue from dis then points are welcomed:-)
thanks,
Swathi

Similar Messages

  • I want to access the database with user name and password without con. info/udl

    hi to all,
    im doing project related with database... normally i'll connect ***.udl file to open database.vi.
    now what is my question is I want to open the database with the user name with password.... y i need this because once i run the program the program should ask username and password to open database for write/read operation. if its wrong user name and password means program should be denied... 
    can any tell how to access the database toolkit with the username with password....
    im using labview 7.0... 
    i think my question is clear....waiting for reply thank you in advance...
    pls see this attachment.....
    Regards,
    N. Srinivasan
    Attachments:
    access.vi ‏37 KB

    i have already read that link in the discussion forum...but im still have some confussion in... i attached file is so like to give user name and password..?
    and one more things can tell wat to do in ODBC and MDB and in UDL for password lock.. each time i run the promgram it should ask password to acces the database.. 
     thank you a lot for your reply.. 
    it will be more more useful if u clear my doubts clearly....
    Regards,
    N. Srinivasan
    Attachments:
    user=pass.PNG ‏35 KB

  • How to upload a File in the Enterprise Portal (JAVA)

    Hi,
    i have a Question.
    We test the SAPNW2004sJavaSP9 Trial Version and we will upload a File in the SAP Database via the Enterprise Portal user interface.
    Where should I just to click...?
    How i can create a new Repository in the Folder Management ?
    Thanks for your help.
    Greetings,
    Steve Neubert

    Hi Steve,
    welcome to SDN and to the KM forums.
    Have a look at the KM Wiki section for introduction guides and frequently asked questions:
    https://wiki.sdn.sap.com/wiki/display/KMC
    This page is dealing with your specific question:
    https://wiki.sdn.sap.com/wiki/x/DV
    Come back if you need more information,
    Robert

  • Create the user master records using the Enterprise Portal

    Hello gurus!!
    I'm configuring SRM 7.0 with EP.
    I'm configuring the organizational structure, and steps guide (pdf and Solution Manager ) are:
    1. Go to transaction SU01 and create an ABAP User. (SRMADMIN)
    2. Assign this user the administrator role /SAPSRM/ADMINISTRATOR
    3. As the administrator, creater the organizational plan
    4. Create the remaining organizational unit
    5. Using the Enterprise Portal application, Business Parter:Employee, create the user master records for the departmental managers.
    How I must create the user in Enterprise Portal? What user I have to use to log on in the Enterprise Portal application? Has the user to be integrated in the organzational structure??
    Thanks in advance!!!!
    Best regards.
    Maria.

    Hi,
    You can create users in WebDynpro application. You can also create users in USERS_GEN transaction.
    Regards,
    Masa

  • How many users have logged in the Enterprise portal

    Hello Expert,
    Please suggest..
    Feature required to monitor as how many users have logged in the Enterprise portal 7.0(Portal is Implemented with MDM), so that utilization can be known.
    Regards,
    Vidhanshi

    Hi,
    You can wirte the following code to get the logged in user's ID
    try {
          IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
          IUser sapUser = wdClientUser.getSAPUser();
          IUserAccount[] acct = sapUser.getUserAccounts();
          String str = acct[0].getDisplayName();
          wdComponentAPI.getMessageManager().reportSuccess("user "+ str);
         } catch (WDUMException e) {
         // TODO Auto-generated catch block
         e.printStackTrace();
         } catch (UMException e) {
         // TODO Auto-generated catch block
         e.printStackTrace();
    You need security api for using it make sure that is present.
    [Find out who is login into the Portal|http://forums.sdn.sap.com/thread.jspa?threadID=1723807]
    Hope This is Help full for you!!!
    Best Regards
    Vijay K

  • Assign GP to Enterprise Portal user

    Hi all,
    I want to  assign my GP process to Enterprise Portal user and I am using the following document given in SDN
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0975397-8e0a-2b10-4daa-bafd3a83e2a8.
    But I am getting following error when I am logging in with a user who is initiator of the process and trying to open the role which I have created.
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    The exception was logged. Inform your system administrator..
    Exception id: 05:26_23/06/08_0021_13684150
    See the details for the exception ID in the log file

    Hi,
    What exactly are you trying to do? Are you trying to access the process via the GP Runtime or trying to start the process via a PCD object from the Portal.
    What is the exception in the log file?
    Dick

  • Branding bar in  the Enterprise Portal

    Hi,
    All the requirements is  to build of the header bar (branding bar) in  the Enterprise Portal.
    Currently when I click in left nav  , the SAP EP Links open up in new window.
    These pages do not have any Company  Branding header on the top.
    I am required to put Branding header  on these EP Pages and call them on to MOSS UI.
    Plz refer the solution to me.
    Thanks,

    Dear Sanjay ,
    Please clarify the below points so that we can understand exactly what issue you are facing .
    1. " requirements is to build of the header bar (branding bar)"  --- Are you referring to the portal  MastHead ?
    (typically mastheadincludes -- welcome "name of user who logs in " , Branding Image - horizontal image bar, help , log off n personalize button"
    2. "when I click in left nav , the SAP EP Links open up in new window. "
    In the left Navigation what are you clicking , what exactly is opening in a new window .
    Kind Regards,
    Ronica

  • Portal Component receives GET from other app out of the Enterprise Portal?

    Hello.
    I want to design a portal component, to which i can send GET-Parameters via URL.
    The sending application runs out of the enterprise Portal and has a simple HTML-form (The portal component generates HTML and JAVA-Script for a Flex Application in the Enterprise Portal which should point to a specific document named in the params. The params will be written into the generated HTML document after calling).
    Is this possible without authetification and how would the URL looks like, which is used to call the enterprise portal?
    Pls help me.
    With best regards
    Edited by: Björn Karpenstein on Aug 15, 2008 11:02 AM
    Edited by: Björn Karpenstein on Aug 15, 2008 11:03 AM
    Edited by: Björn Karpenstein on Aug 15, 2008 11:05 AM

    Hi Björn,
    you can access request parameters with the following code in the standard methods of your Portal Component:
              // IPortalComponentRequest request;
              request.getServletRequest().getParameter("ParamName");
    The direct URL of your Portal Component without a specific iView is:
    http://
    If your component should be directly accessable without authentication you must add the following property in your portalapp.xml in the the component-profile section:
          <component-profile>
            <property name="AuthScheme" value="anonymous"></property>
          </component-profile>
    Best regards,
    Stefan Brauneis

  • Retrieving portal user name

    Hi,all
    In NW 2004 I retrieved the user name of portal user by following:
    HttpServletRequest req =((com.sap.tc.webdynpro.services.sal.adapter.core.IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter ()).getHttpServletRequest();   
    wdContext.currentContextElement().setUserName(req.getRemoteUser());
    But in NW 2004S it is not working.I can not to locate IWebContextAdapter.
    How can I retrieve the portal user name here?
    Regards,
    Michael

    Hi,
    Please try following code and let me know.
    import com.sap.tc.webdynpro.services.sal.um.api.IWDClientUser;
    import com.sap.tc.webdynpro.services.sal.um.api.WDClientUser;
    try
         //get the currently logged in user
         IWDClientUser wdUser = WDClientUser.getCurrentUser();
        //get the com.sap.security.api.Iuser; It is null in case wdUser represents an anonymous user
        IUser user = wdUser.getSAPUser();
       //check whether the user is anonymous
       if (user != null)
          //access logon ID by iterating through the IUserAccount array
          IUserAccount[] acct = user.getUserAccounts();
         if(acct[0] != null)
            String strUserid = acct[0].getLogonUid();
            wdContext.currentContextElement().setId(strUserid);
            //pass the value obtained from the portal to value attribute
    catch (Exception e)
       wdComponentAPI.getMessageManager().reportException("Failed to get current user: " + e.getLocalizedMessage(), true);
    Regards,
    Vaibhav

  • BW Workbook as an iView in the Enterprise Portal

    I keeping getting a dialog box asking to select the appropriate program to open the workbook. When I select .xls it opens, and it shows the parameters I entered and not the workbook. The customer is on NW04 Stack 11.
    I followed ever step on help.sap.com site as listed below.
    BW workbooks are MS Excel workbooks with one or more embedded BW queries. You are able to display these workbooks in the Enterprise Portal as iViews.
    Features
    Workbooks are displayed in a separate MS Excel window. Opening workbooks within the Web browser window is not possible for technical reasons.
    BW workbooks require the BEx Analyzer, which requires a local installation of the SAP GUI for Windows with the BW front end.
    SAP recommends that you use BEx Web applications in the Enterprise Portal that run completely in the Web browser.
    You can use the function Export as Excel 2000 File from the BW Web application context menu as an alternative to using a local installation of the BW front end if you require Excel functions. See Context Menu Functions  and Exporting as a CSV File/Excel 2000 File.
    An iView with a workbook can be generated using the Portal Content Studio or Role Upload. For more information, see Generating Content from SAP BW for the Enterprise Portal.
    The iViews are of type SAP Transaction iView and have the code link com.sap.portal.appintegrator.sap.Transaction.
    The most important properties are System, Transaction (TCODE) and ApplicationParameter.
    ·The System property contains the alias on the BW system (see Creating BW Systems in the  Portal).
    ·The transaction code for every workbook is RRMXP.
    ·The value WBID= is in the ApplicationParameter property.
    You can determine the workbook ID with the BEx Analyzer:
    a. Open the desired workbook.
    b. In the BEx toolbar, choose ® OLAP Functions for Active Cells ® Properties. The Information tab page contains the Workbook ID (Server).
    Note that with BW workbooks as an iView, the AutoStart property contains the value True (process first screen) and the GuiType property contains the value WinGui.
    Anyone have a solution for this to work?
    Thanks,
    -Eli

    Dear Rasmesh,
    Please try to do this suggestion:
    3. How can I use SAP Application Integrator to access SAP transactions?
    There are two different ways to use the SAP Application Integrator transaction iView. In both cases please use a URL like 'irj://com.sap.portal.appintegrator.sap.Transaction' followed by your custom parameters like '?System=DEV&TCode=SE38&GuiType=WinGui &WinGui_Type=Shortcut&OkCode=SHOP'.
    The parameters are:
    System [mandatory]
    TCode [mandatory]
    GuiType (=WinGui / WebGui / JavaGui) [mandatory]
    WinGui_Type (=Shortcut ..if you want to launch the GUI in a new window)
    OkCode (The OkCode that you would like to be executed after the transcation is called by SAP GUI.)
    ApplicationParameter (Pass these values to your screen fields which needs to be be separated by
    AutoStart (true / false)
    UseSPO1 (true / false)
    For a complete list of parameters please consult http://help.sap.com.
    Taken of:
    http://www.sweetlets.com/my_favorites_faq.html
    I hope this highline can help you,
    Luis

  • Webinar: Change Management and Transport in the Enterprise Portal

    <b>SAP NetWeaver Know-How Network Webinar: 
    Change Management and Transport in the Enterprise Portal
    Wednesday 21 July 2004
    11 a.m. EDT</b>
    On Wednesday 21 July, Scott Jones hosts the webinar titled <b>Change Management and Transport in the Enterprise Portal</b> as part of the ongoing SAP NetWeaver Know-How Network Webinar Series.
    Here’s how Scott describes his webinar presentation:
    “Change Management offers special challenges to administrators working in Enterprise Portal 6.0 SP2 environments.  This talk provides recommendations and tools, and defines best practices and methods for the effective transport of Enterprise Portal content, with special attention to content dependencies, tracking, and troubleshooting.   We'll also look forward to Change Management enhancements coming with Netweaver 04.”
    SDN invites you to post your questions to the presenter prior to the webinar and continue the online discussion afterward.
    <b>How to Participate</b>
    (Please go to the SDN Events page to see the article and download the PDF presentation)
    Dial-in Information:
    Date: Wednesday 21 July 2004
    Time: 11 a.m. EDT
    Within the U.S., call: +1.888.428.4473
    Outside the U.S., call: +1.651.291.0618
    Password: NetWeaver04
    WebEx Information:
    Topic: SAP NetWeaver Know-How Network
    Date: Wednesday 21 July 2004
    Time: 11 a.m. EDT
    Meeting Number: 742391500
    Meeting Password: netweaver04 (lowercase)
    WebEx Link: sap.webex.com
    Replay Information:
    A recorded replay of this call will be available for approximately three months after the webinar. Access this recording by dialing the appropriate number and using the replay access code TBD.
    Toll-free: +1.800.475.6701
    International: +1.320.365.3844
    <b>About the SAP NetWeaver Know-How Webinar Series</b>
    The SAP NetWeaver Know-How Webinar Series is driven by the SAP NetWeaver Regional Implementation Group (RIG), part of the SAP Development organization. The mission of the SAP NetWeaver RIG is to enable customers, employees, and partners to successfully implement the SAP NetWeaver solution. This SAP RIG has expertise in BI, EP, XI, and WebAS. They contribute their implementation expertise to the SDN implementation forums as well as to the SAP NetWeaver Know-How Webinar Series.
    <b>Disclaimer</b>
    SDN is not responsible for any changes to the webinar schedule. The webinar schedule may be changed or cancelled without prior notice.

    Hello,
    In the intresting document I read that for the deployement the version number mentionned in the MANIFEST.MF is very important in a clustered evironment.
    SAPnote 727180 - Version of PAR File in Manifest File
    denies this.
    Can you clear this out?
    Kind Regards
    Koen Van Loocke

  • How to bind an IIS to the enterprise portal installed on a linux machine

    Dear all,
    I am very new to the topic of Enterprise Portal.
    Our intention is, to develop .NET IViews and deploy them in the Enterprise Portal.
    The Enterprise Portal Server is set up on a linux machine.
    The Guy who did install the Portal Server, has no idea how to "integrate" the Microsoft IIS to the Portal.
    After deploying my .net Component, i tried to view this component in the portal (by right clicking the mouse on the Component in in the .NET Solutions Explorer).
    This gives me the following error:
    Portal Runtime Error
    An exception occured while processing a request for:
    iView:N/A
    Component Name: N/A
    Could not find portal application com.sap.portal.dotnet.framework.
    Exception id: 02:06.......
    See the details for the exception ID in the log file
    I think that this has something in common with integrating the IIS on the Linux Machine, and maybe additionaly installing the pdk.net on the IIS webserver machine which should be used.
    Thank you for your help.
    Regards

    Hi,
    Welcome to the world of Enterprise portal
    Seems to me like you are trying to use the PDK for .NET. If so - Please read the overview section in the documentation to get a general idea of how it works (for example - IIS is not used at all!).
    See the Visual Studio integrated help or click this https://media.sdn.sap.com/html/submitted_docs/dotnet/index.htm
    there go to "Getting Started" and mostly "Overview".
    Anyway, It seems like the problem is that you didn't deploy the 2 required SDA's to the portal. You should also take a look at the "installation and configuration" guide. Download it here: https://www.sdn.sap.com/sdn/developerareas/dotnet.sdn?contenttype=url&content=/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/pdk for .net administrator guides.zip
    Good luck,
    Ofer

  • How can I hide the password and user name in url???

    Hi experts,
    I'm creating a login page and know I have a problem.
    The Username and password are verified in a Java class, after checking the user and password, the user should be linked to the portal.
    So far everything has worked well.
    But when I call the lin like this
    res.sendRedirect ("/ irj / portal j_user =" + UserN + "& j_password =" + passw);
    then the user name and Pwasswort appears in the url.
    Can someone tell me how can I hide the password and user name???
    It will be very helpful.
    Thank you
    Edited by: Cilvaring on Aug 5, 2011 12:00 PM

    If there is no specific reason that you have to use sendredirect...thne you can try request.forward.....
    RequestDispatcher rd = request.getRequestDispatcher("pathToResource");
      rd.forward(request, response);

  • Windows Applications in the Enterprise Portal

    Hi all,
    we have EP 6.0 SP10 based on NW04 installed.
    Is there any possibility to integrate Windows Apllications
    (Windows 'exe' files) in the Enterprise Portal.
    Best regards

    With LaunchInIE you use JavaScript to launch the actual applications. What we do is write a Java iView that contains links (we use icons) to programs installed locally on each machine. When the user clicks a link (icon) we run the JavaScript that opens the locally installed 'exe' file.
    If you have a look at the WhirlyWiryWeb link posted earlier you can see how to use LaunchInIE.
    The downside to this is that the .dll has to be installed on each machine and the registry (for each machine) has to be maintained.
    You can just write a java iView that has links to locally installed exe's (file://C:/myfolder/myexe.exe) if you like but that will result in a security warning each time. LaunchInIE stops the security warning.

  • Upgradng the enterprise portal from non HA to HA

    Dear Experts,
    We have Enterprise portal 7.01 on windows 2003 with db2 9.1. and 1 dialog instance. presently it is not in HA. We want to change this to HA using MSCS.
    Can any body share some knowledge on this. How to change the existing system.
    thanks alot

    Hi,
    I must want to correct this question as
    " Migrating the enterprise portal from non HA to HA".
    The only option i can see is reinstallation or i mean to say system copy to new HA system.
    Yoy have to plan your connectivity issues in case you are going to change hostname,IP etc.
    Steps:
    1) Install Fresh HA EP system
    2) Take export from source EP system and DB backup
    3) Perform system copy steps on new system
    4) In case host name is changed , inform the respective interfac eowners.
    Hope this will help you to plan better.
    Regards,
    Gagan Deep Kaushal

Maybe you are looking for

  • Thumbnails in Organizer are already corrected?

    The thumbnails in the organizer seem to be corrected for color, brightness, etc.  For example...three bracketed exposures of the same scene appear as identical thumbnails in the Organizer. I would like to see exactly what I shot. I cannot find a pref

  • Best Practice for "flag" columns

    Hello Experts! This is more of a design/architecture/performance? question.  Suggestions welcome, of course! Oracle Server version 11.2.0.3 Scenario: I plan to use one of my columns in the table as a "flag" field.  Meaning, this field will have some

  • Af:autoSuggestBehavior alignment issue

    Hi All, I am using <af:autoSuggestBehavior>.When searching the records it's showing right alignment of the input Text). How to make the autosuggest behaviour to show right below the inputtext.

  • Price not picking from VK12

    Hi, I maintained a price in vk12, and the condition record for today states a price of 17, And i'm creating a billing doc for today. In the codition type, pricing date is set as 'C' to pick the billing date for pricing. Sales order price how ever pic

  • Media Manager not collecting all files to new destination - Why?

    Specs: 10.5.8 / Final Cut Pro 6.06 / Dual Quad Tower - So here's the conundrum. We've got a lot of video projects to backup (about 80) and move to another drive. When we go to media manager and ask it to copy files over to a new destination, it grabs