Get User ID from Portal Environment

Hi,
In order to avoid creation of as many SAP backend users as our Portal Customers. We have created one SAP communication user and mapped it to LDAP roles & a similar LDAP user. The same user is configured in SICF for this ABAP webdynpro application.
Now following are my questions:
1- Is the above mentioned strategy is recommended or should be avoided? when & why
2- How can we get the portal customer id in ABAP webdynpro code
as we need to find which customer it is related to?
Thanx.

Thanx I got the answer from one of the old log....

Similar Messages

  • Getting user name from sopa header

    How should get user name from soap header in my udf...?i searched in sdn,but not get exact solution...

    I din't get this with SRemoteUser
    1. i've enabled " Do Not Use SOAP Envolope"
    2.Enabled ASMA
    3.Variable Transport Binding .
    used the following code as well:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey user = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/SOAP", "SRemoteUser");
    conf.get(user);
    But not value in it.. Correct me if iam wrong..

  • Sharepoint 2010 get User Groups from specific site

    Hello,
    I was able to get all User groups from entire site Collection.
    But instead of getting user groups from entire site, I want read user groups only from one specified sub site.
    Please help!
    Thanks

    Assuming you have an SPWeb object named "web", example:
    SPSite site = new SPSite(http://yourdomain/sites/yoursite);
    SPWeb web = site.OpenWeb("mysubsite/subsbusite");
    web.Groups will return a collection of SPGroup objects for the current subsite. If this subsite inherits permissions from a parent site (web.HasUniquePerm = False), the list is the same as the Groups property of the parent site.
    SPWeb.Groups:
    http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spweb.groups(v=office.15).aspx
    SPGroup:
    http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spgroup(v=office.15).aspx
    You would be better results by posting coding questions in "SharePoint 2010 - Development and Programming" instead of "SharePoint 2010 - General Discussions and Questions".
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Where does apex get user details from for login in

    sorry for this stupid question. I have been looking up in google "where does apex get user details from for login in" and nothing answers my question. Basically I wanted to know when you log in your application how does apex know you have access to this application. How does it know you are a valid user because I am creating an application which basically checks if a user exist in one database and also checks if he/she exist in the second database.
    Thanks you and sorry if this is very newbie

    In the page 101 which is the login in page in the login in process. I have this in the source its not working in term of it is not letting me login in anymore even though I exist in the user table.
    DECLARE
    v_access_level number;
    BEGIN
    SELECT count(*)INTO
    v_access_level
    FROM USER
    WHERE UPPER(USER_NAME) = UPPER(:APP_USER);
    IF NVL(v_access_level, 0) !=0 THEN
    wwv_flow_custom_auth_std.login(
        P_UNAME       => :P101_USERNAME,
        P_PASSWORD    => :P101_PASSWORD,
        P_SESSION_ID  => v('APP_SESSION'),
        P_FLOW_PAGE   => :APP_ID||':9'
    ELSE
    wwv_flow_custom_auth_std.login(
        P_UNAME       => :P101_USERNAME,
        P_PASSWORD    => 'YtYuTrFRd',
        P_SESSION_ID  => v('APP_SESSION'),
        P_FLOW_PAGE   => :APP_ID||':9'
    END IF;
    end;
    please bare in mind that my USER table DOES NOT have a password because the authentication scheme as all the details of login in to any systems. I am only trying to check if the username exist in my USER table.
    Thanks

  • User mapping from portal to R/3

    Hello everyone,
    Our situation is this :
    We made some visual composer iviews (charts and tables) that get data from R/3.
    Instead of creating users in R/3, we want to use only one public user who can only call RFC's in R/3. So how is the user mapping implemented in this situation?
    Please give me detailed explanation for it or links of documentation.
    I will be appreciative and all answers will be rewarded with points.
    Thanks for help.

    In addition and from a maintenance perspective you could do a: Portal Group to R/3 UserMapping.
    This will then automatically map all Portal Users in the Portal Group to the one R/3 user in the back-end. This saves effort when new users are created on the portal you don't have to map them all.
    This method is also proposed by SAP for mapping to MDM for example.
    NOTE: When you choose this you cannot trace the user in the back-end because
    this back-end user is shared. If this is not a problem for your scenarion then I would say go for it.
    Cheers,
    Benjamin Houttuin

  • Display attachments in SAP work list (at user decision) from portal.

    Hi Experts,
    How can we get the uploaded attachment form portal to SAP UWl .
    We have requirement like user wants to upload the travel expenses related documents (.PDF,.Txt or .doc files) in portal that attachments needs to available in approver inbox as link at user decision level.
    We have done the binding part and we are getting the attachment from first level to next level but unable to get the attachments uploaded in portal.
    I found one link but itu2019s not working.
    How to store Multiple Attachments in Workflow.
    SAP_WAPI_GET_ATTACHMENTS by using this function module I am getting only OBJECT_ID                                SOFM
    DESCRIPT                       Office Document
    SHORTTEXT                      Office Document
    Please help....good Rewards for useful answers ....
    Edited by: RameshG on Jan 12, 2011 7:04 PM

    Dear Ramesh,
    Need your help!
    While creating travel expense request from Enterprise Portal, travelers create few attachments [pdf/doc/xms/txt] and then save the travel expense reports.
    A workflow then gets triggered and this travel expense report reached the SAP Inboxes of the checkers [in the finance department].
    The issue here is that these checkers do not have access to enterprise portal and they expect to see the attachments [that the traveler has created via the portal] via corresponding work items in their SAP Inboxes u2013 which currently is not happening!
    I checked the trip transaction that got created [in the backend / in SAP] and found the u2018attachment listu2019 menu option in GOS being disabled [may be because there is not even one attachment that has come to the backend!]
    What needs to be done so that the attachments can even be viewed from the backend / from SAP Inbox?  Does this involve coding?
    Please suggest!
    Br,
    Hari

  • How to get argument value from portal desktop URL

    hi,guys
    I have a question ,it is how to get argument value.see:
    in one portal desktop,I have a hyperlink like this
    http://localhost:7001/TestPortal/appmanager/testPortal/testDST?eventId=1
    after click,then will be switch another desktop "testDST"
    I tried to get value from request,but failure.
    @RequestMapping
    public String listTestList(RenderRequest request, RenderResponse response,ModelMap model) {
    //HttpServletRequest httpRequest = (HttpServletRequest) ; //request.getAttribute("javax.portlet.portletc.httpServletRequest");
    //log.debug("httprequest eventId>>>" + httpRequest.getParameter("eventId"));
    log.debug("render request eventId>>>" + request.getParameter("eventId"));
    I can't get this value from request,also tried httpServeltRequest,but httpServletRequest can't get,it is null;
    so ,how to get this value,thank you very much.
    regards
    aris

    Hello,
    It is true for JSR168 portlets that you can't just arbitrarily set parameters on a URL and get access to them inside your portlet- you must use the appropriate APIs on the PortletURL class to set parameters that you can retrieve. This is the only portable (standards-compliant) way to implement the functionality you want.
    However, for your particular use-case, you can get the URL parameters from the (non-JSR168) HttpServletRequest object. The only reason you are getting a null object for that is because the attribute name is wrong. This should work:
    HttpServletRequest httpRequest = (HttpServletRequest)(request.getAttribute("javax.servlet.request"));
    String eventId = httpRequest.getParameter("eventId");
    Kevin

  • How i get user info from ldap using java after authenticating user with SSO

    Hi
    I have one jsp/bean application as a partner application with SSO.
    It works fine.
    Now i need to get other attributes of user from LDAP who has logged into the application through SSO.
    using SSO java APIs i only get username, userDN, subscriber info.
    To get user's other attribute i have to user LDAP APIs for that i have to create on Directory Context, for the same i need userpassword.
    so here i my question, how do i get user password after he has logged in thro SSO.
    regards..
    and thanking u in advance
    samir

    Valentina,
    there's no way to get the password value from the directory (it's one way). Of course you can get the hashed (MD4,MD5,SHA-1) base64 encoded value (i.e. the value you see in OiD) but not the 'password'.
    --Olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Getting User Attributes from an Active Directory LDAP

    Hello all.
    I want to extract attributes assigned to a user in the Active Directory LDAP and make them available through the getPropertyValue property in Javascript. I know that a user's System Attributes can be accessed with getPropertyValue but I have not found a way to get specific attributes from the LDAP and make them available as specific attributes in xMII. System attributes like "EmailAddress1" seem to transfer from the LDAP but others don't. Anyone have any ideas?
    Thanks.
    ...Sparks

    Sparks,
    If you're using 11.5 or 12 actually they should all map into the system as session properties.  You can use the following URL to verify your session properties:
    http://<xMIIServer>/Lighthammer/PropertyAccessServlet?Mode=List
    If you are not seeing the attributes you expect then your Attribute Query for User or Role is incorrect for your LDAP system and you need to change the LDAP configuration queries.
    -Sam

  • Metadata through user input from portal application while new check In

    Hi,
    We have a requirment to create new doc/html from portal end, and check in it into UCM with user populated metadata's
    I have few quetions
    - Can I user OOTB RichtextEditor taskflow with little customization.
    - Is it a easy option to add a check in form (custom taskflow).
    - or we have to create new custom taskflow and use CHECKIN_NEW service using RIDC api.
    Thanks
    Edited by: 953836 on Aug 21, 2012 2:20 AM

    You could go with the standard stuff, but everything depends on what user experience you want to achieve.
    a) doc/html
    What formats you want to support? HTML is OK, but .DOC (especially if it means MS-Word) might be a challenge
    b) you could use SSXA tags (see here: http://docs.oracle.com/cd/E23943_01/doc.1111/e13650/toc.htm ) which could do exactly what you ask for (via Contributor Data Files). Note, however, that this user experience is not often met with understanding. And even more important, mind this: Clarification on SSXA Support with WebCenter Portal
    c) you could also use CHECKIN_NEW_FORM (see here http://docs.oracle.com/cd/E23943_01/doc.1111/e11011/c04_core.htm#BABGBCHI ) and somehow consume its output in your custom code. By doing this, you could use Content's standard functionality, profiles, but yet, achieve the user experience similar to what Desktop Integration Suite provides.

  • Getting User projects from Collab Server

    Hi, How can I retrieve user projects from collaboration server from a portlet using EDK?

    Hi,
    Here are two ways for your reference:
    1. Use ensureUser Method in the JS Client Object Model:
    http://msdn.microsoft.com/en-us/library/ff408786.aspx
    2. Use the SPServices
    jQuery library to achieve it.
    http://stackoverflow.com/questions/5542208/sharepoint-2010-use-spservices-to-get-a-users-id
    http://spservices.codeplex.com/wikipage?title=Users%20and%20Groups
    http://devspoint.wordpress.com/2012/07/17/jsrender-spservices-and-user-profiles/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Can't get user account from 10.7.5 to Mavericks with Migration Assistant

    I am perplexed about this one.  I want to use migration assistant to get a user account from an old Mac Pro running 10.7.5 to a 2012 iMac that has Mavericks on it.
    I've tried:
    1 - Migration assistant over the network - migration assistant says the Mac Pro needs a higher operating system, but the computer can't be upgraded.
    2 - Target mode of Mac Pro to iMac: Migration assistant sees the volume, but doesn't acknowledge any user accounts.  It only acknowledges applications, and other files.
    Any ideas folks.  I simply want to bring the user accout over to the new computer and perhaps the applications.

    LOL - I figured it out.  I had to update the Mac Pro which included a new migration assistant update.

  • Get user comments from Service Manager 2012

    Hi all,
    For some Service Manager customizations, I want to "export" the user comments from incident tickets to an email message. I want to do this with Orchestrator.
    I was thinking to create a runbook with the follow components:
    - Get Incident
    - Get relationship (Related class = Trouble Ticket User comments)
    In the last activity "send mail", I want to add the user comments. But I can't find the user comments from the Published data. (see print screen) 
    Know anyone of you if it is possible to get the user comments? If Yes, How to do that?

    Hi!
    Yes, it is possible. "Get Relationship" does just exactly that, it only gets the relationship between the Incident object and the Trouble Ticket User Comment object. After you have retrieved this, you then need to get the actual related object.
    To do that, you Get Object, the class you want (in this case Trouble Ticket User Comment), then make sure you add a filter to search for the "Related Object Guid" from the published data of the Get Relationship.
    Make sure you select the "Related Object Guid"! It is a very common mistake to choose "SC Object Guid", but that is just the guid of the relationship...not the object you want ;)
    A bit tricky to understand at first, but easy enough after you get the hang of it.

  • How to get user attributes from LDAP authenticator

    I am using an LDAP authenticator and identity asserter to get user / group information.
    I would like to access LDAP attributes for the user in my ADF Taskflow (Deployed into webcenter spaces).
    Is there an available api to get all the user attributes through the established weblogic authenticator provider or do i have to directly connect to the LDAP server again?
    Any help would be appreciated

    Hi Julián,
    in fact, I've never worked with BSP iViews and so I don't know if there is a direct way to achieve what you want. Maybe you should ask within BSP forum...
    A possibility would be to create a proxy iView around the BSP iView (in fact: before the BSP AppIntegrator component) which reads the user names and passes this as application params to the BSP component. But this is
    Beginner
    Medium
    Advanced
    Also see http://help.sap.com/saphelp_nw04/helpdata/en/16/1e0541a407f06fe10000000a1550b0/frameset.htm
    Hope it helps
    Detlev

  • Get user details from OIM User From based on Last modified time stamp

    Hi Gurus,
    I have a requirement that i want user details from OIM(11gr1) User form based on some time stamp.
    suppose my time stamp is 201401011130.
    And i changed one user in user form at 201401011200 (let sau user name is mahesh)
    now when i run the java code based on the time stamp i want mahesh details. How can i do this.
    Please let me know.
    Regards
    Mahesh

    This is how you can run sql query.
    String query="write sql query";
    Connection con=Platform.getOperationalDS().getConnection();
    Statement st=con.prepareStatement(query);    // PreparedStatement is preferable instead of Statement
    ResultSet rs=st.executeQuery();
    while(rs.next())
    String userlogin =rs.String("usr_login");

Maybe you are looking for

  • Order Management Fields Explanation

    Hi All, I want to learn R12 Order Management Important forms and their fields with meaning. Can anyone provide the helpfull link to learn each and every mandatory and important field in order management. Thanks in advance, Praveen Kumar.

  • Installing Central Instance on Linux

    Hello Does anyone have manuals or any material that guides and show how to install a SAP Central Instance on LINUX? The version of SAP is 4.7. Regards

  • LOGO in REUSE_ALV_COMMENTARY_WRITE

    Hi all, i use REUSE_ALV_COMMENTARY_WRITE with Logo   CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'        EXPORTING             I_LOGO             = 'ENJOYSAP_LOGO'             IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE. it works good. I have inserted my

  • IP Address for my 2605dn

    Help...i'm tapped out.  I can't add the printer.  Prints test page.  The Config report lists IP as 0.0.0.0. I've restarted, re-booted computer, router, and printer many times and in different sequence. Is my ethernet board shot? Can it be replaced $?

  • Message control excise invoice in CIN

    Hi I would like to create a message control an error message for j1iin t ocde. pls. suggest where do i have to define and assign this in sap logistic general. Regards Suresh