Accessing Portal User profile info from report

Once the user logs into portal, I would like to access some of the user profile information (personal or organizational details). I need to find the stored value of the employee number, e_mail and department. This is needed to restrict the information that will be returned to the user in portal reports.
ie. Access the portal users department and only show them information fo that specific department. If I can access I can store the value in a session variable or cookie.

Just have a look at <portal_schema>.wwsec_person$
There is also an API <portal_schema>.wwctx_api.get_user to get the user currently logged in.
Thanx,
Chetan.

Similar Messages

  • Retrieving Webcenter User Profile information from portlet programmaticaly

    Hi guys,
    I'm triing to retrieve WC user profile information programmatically from a jsr 286 portlet but:
    ADFContext.getCurrent().getSecurityContext().getUserName(); ----> always return anonymous
    ADFContext.getCurrent().getSecurityContext().isAuthenticated() ----> always return false
    (i'm obviously authenticated on webcenter with my profile)
    Anyone knows what the problem is or how to retrieve webcenter user profile information from within a portlet?
    Thank you.

    thank you for the reply, but that issue seems not resolved.
    I hope there are other ways to retrieve user information.
    Anyone knows if there is a way to retrieve programmatically user profile from a jsr286 portlet inside webcenter?
    Edit:
    i've tried passing this parameter to the portlet : #{webCenterProfile[securityContext.userName].userName}
    I can retrieve from the request object and the username is correct, the problem is that i need the whole profile (i have some logic that are dependant on user email, lastname etc), and adding all profile attributes as parameter seems to me not the correct solution.
    I need a way to access the user profile directly from the portlet.
    Edited by: ZOLTAN on Jun 22, 2011 5:56 AM

  • Error when editing Portal User Profiles

    Hi there,
    I got this error message when editing Portal User Profiles
    Error: The specified user does not exist. (WWC-41406).
    I can select users from OID, but can't edit them.
    Note: these users are imported from AD and placed in a different OU other than users container in OID.
    But, If I create a user in the same OU from Portal Administration page, then I can select and edit that user's Portal Profile.
    So what's the difference between imported users and the user created from Portal?
    Please advise.
    Thanks,
    Geoff

    REPORTSDEV was an invalid user so we dropped this user and started over and now it works.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by GREGG SAKSEFSKI ([email protected]):
    I'm tring to edit user REPORTSDEV.
    So I'm on the "Administer" tab and enter "REPORSDEV" in the User box and press <EDIT> button.
    After a couple minuates I receive the error below:
    Error: Unexpected error encountered in wwsec_api.id_sso (User-Defined Exception) (WWC-41417)
    The system failed to retrieve the necessary HTTP request to the Login Server to validate this user. (WWC-41447)
    Any ideas???<HR></BLOCKQUOTE>
    null

  • Portal User Profiles Search List

    I've installed Portal successfully and everything seems to be working. One problem i do have is this.
    When you click on the search button to list all available portal user profiles it brings up the list correctly but when i click on the hyperlink to select the user nothing happens.
    The same thing is happening when selecting an extenal application in the add provider screen.
    Has anyone had a similar problem before or knows why this is happening?
    Thanks in advance
    Neil Malcolm

    Hi,
         Actually the number of users are too large. So it may take more time. Try doing the export from the machine which is very fast ,I mean in performance. That may help you save time. But if this happens because of some problem, then have a look at
    <Drive:>/usr/sap/<SID>/<INSTANCE>/j2ee/cluster/server<N>/log/defaultTrace.trc from the server. Check the latest trace file.
    http://help.sap.com/saphelp_nw04s/helpdata/en/f2/6a82270fd99844a65085bd90022fab/frameset.htm
    Regards,
    Harini S

  • Can't access my user profile with the supplied user information from Oracle

    I can't access my user account at oracle.com with the supplied user name and password supplied by oracle email.
    user = [email protected]

    I have deleted all cookies and files, can you please give me some feedback asap. I am registered on an Oracle event that I need to be able to unregister but I can't do it since I can't access www.oracle.com.

  • Read Portal User ID in BW report to filter records

    Hi,
    I need to filter my records in BW report based on the
    business partner who logs into Portal.
    (BW report is getting called thur IView in Portal)
    Is there any way i can fetch the Portal User id
    during the execution of BW report? so then i can filter
    records by writing code in user exit.
    I tried using variable sy-uname, but it populates
    the BW user id and not portal user id.
    Please reply if anybody knows solution to this query.
    Thnx in advance.

    Abhijit ,
    My understanding:
    You need to filter the query by the Business Partner ID and not by User name and Business Partner number and BW User ID are both different.
    If you want to filter by User name:
    Why don't you try using SSO through EP and that way you would get the ID of the person logged in.
    If you are using user mapping:
    Or what you could do is maintain the mapping in an info object/table in BW and query against the same.
    If you are using Business Partner:
    Populate the business partner master which will have the user name attached and that way you would be able to get the Business partner ID.
    Arun

  • Portal User Contact Info : ABAP UME

    Folks,
    I have my UME set to the ABAP server, and I need to access the user city, country etc from the portal, for which I am using
    (IPortalComponentRequest) this.getRequest()).getUser().getCity();
    Moreover I do not want to maintain this information on the Portal Identity Management, but from the ABAP system when I create the user id.
    I want to know where I should update the city and country on the R/3 system so that I can fetch it in the portal using the above mentioned API.
    Thanks for your time.

    >>Is there an API for that, as ((IPortalComponentRequest) this.getRequest
    >>()).getUser().getCompany() does not seem to return the company that we see >>in SU01.
    You can create custom login module to synchronize values which are not mapped from R/3 UME to Portal UME (including city).
    >>Also does this mean that if I maintain the Contact Information in Identity >>Management, it is not stored in the R/3 but in the Portal itself?
    All user, account, role and groups attributes wich are not mapped to R/3 UME are going to be stored in local portal UME database.

  • Can't access old user profile data (folders with - signs)

    Hi,
    My iMac (model below) running 10.6.8 would not load from the start-up screen, so I reinstalled the OS from the instalation discs.  After doing so I was able to gain access the desktop, but had been assigned a new user profile.  My previous music, email, photos etc. were stored in a "previous system" folder, and while I can access the overall folder many of the sub-folders have a in the lower corner which keeps me from being able to open/access them.
    Is there a way for me to open or move these files?  Or perhaps reinstate this "previous user" to the system?
    I am further stuck because I purchased the upgrade from 10.4, to 10.6 electronicially and now can't access the information needed to return to that system.
    Any helpw would be greatly appreciated.
    Thanks, Scott

    Thanks Again Niel, you are super fast!!! 
    I went to the system preferences and then user and saw that the only user currently was also marked as "Admin".  So I tried it again with my photos folder and entered the longer name and password I set up and it worked.  What was different was that I changed the Admin name from the "short" name put in the field automatically to the "longer" name along with the password.
    Not sure how this going to work with my email or how to get back to my upgraded version of Mac OS, but I guess I can keep playing with it and see.
    Thanks again,
    Scott

  • We are using SharePoint 2010 server with service pack 1 want to remove/delete old user profiles & site from server

    Hi Team,
    We are using SharePoint 2010 server with service pack 1, we want to remove/delete old user profiles, access & site from server
    is there any script or feature available using that we can only remove dactivated/deleted/old user profiles, access & site.
    Thanks
    NPratik

    Take a look at Metalogix ControlPoint, which will compare user accounts on SharePoint to Active Directory and remove accounts that no longer exist in AD (or are disabled).
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • User/Profile Risk Violation Report table is empty

    Dear community,
    I am struggeling to find the solution for a quite simple problem: the user and profile risk violation report tables show no results (are empty). And this, although the associated tables (in the backend) contain entries for the same selection criteria (eg. GRACPROFILEACTVL etc.). What could be the reason for that? I started again the batch risk analysis very carefully (manually) on User and Profile Level, for the correct rule set and the correct system, it completed successfully, but I still can't see any results (not even a message like "No violations" or something). As an example, I took the profile SAP_ALL for a target system, which should obviously return a lot of risks/violations.
    I have also checked that this is not an authorization issue. To be more precise, actually, this functionality is working fine on the development and UAT GRC system, but not in production.
    Any help is highly appreciated. Thanks in advance.

    Hi Erik,
    The problem you are facing with only due to the SoD rule sets, which are in active as you might not have generated in Production system
    Generate the SoD rule sets, run the jobs and then run the risks reports, you will get the results as expected.
    Regards,
    Ameet

  • How do I access my user profile in finder under favorites?

    On my new macbook pro, in finder, I am not able to see my user profile with all of my documents, downloads, music, pictures, etc. under favorites in the sidebar. How do I get my user profile to show up?

    Choose Home from the Finder's Go menu and drag the folders to it.
    (103647)

  • Portal User to Bw web report

    Dear All,
    I want to pass the portal logon user to Bw web report . do anybody have any idea how to do that.
    Thanks and regards,
    sarang

    Dear Sri,
    I didn't mean sso.
    What i really wanna do is pass the portal user as a variable value in bw report  selection screen.
    Consider there is a value to be put in Bw report selection screen as customer.
    now i logon to portal using customer id. now i want this value of customer id to be passed to that report.
    thanks and regards,
    sarang

  • Cleanup User Profiles excluded from import

    Hey guys!
    since weeks I got messed up with user profiles in MOSS2010.
    Initially we have setup AD synchroization from whole AD. Some tests were done and numerous OUs were excluded from the sync connection.
    Hence thousands of profiles should be deleted from SharePoint, but still kept in AD.
    SharePoint has moved them to "Profiles Missing from Import" which was a first milestone. However, we use the profiles in organization webparts and the "should be-" deleted profiles still appear in those webparts.
    We were waiting more than 14 days for automatical deletion which doesn´t took any affect.
    MySite cleanup Job and
    User Profile Change Cleanup Job have been executed by schedule and manualla - accounts still exist
    Full sync has been executed - accounts still exist.
    I have executed the well known PowerShell script to delete NonImportetObjects
    Set-SPProfileServiceApplication $upa -GetNonImportedObjects $true
    But I get only five profiles as result. On SharePoint CA I have thousands of profiles on "Profiles Missing from Import". So I guess the execution of
    Set-SPProfileServiceApplication $upa -PurgeNonImportedObjects $true
    wont help me out in this case.
    Due to the large amount of profiles, a manual deletion is not a suitable solution.
    Do you have any idea how to fix this?

    Just one quick check, did you start user Profile service after OUs exclusion in Sync connection ? if not then please restart the service and perform Full Sync.
    Run below script on SQL server to check all users marked for deletion, these users will be picked up by "MY Site clean up job" for deletion:
    1. Script to get list of all user which are inactive and marked in "Profile missing", update profile DB Name :
    SELECT *  FROM [User Profile Service Application_ProfileDB_02f7d99cc26542978de8627838c980b8].[dbo].[UserProfile_Full] with (nolock)  where bDeleted = 1GO
    2. Script to check if sites marked as deletion, update profile DB name;
    SELECT *  FROM [User Profile Service Application_ProfileDB_02f7d99cc26542978de8627838c980b8].[dbo].[MySiteDeletionStatus]GO
    Thanks, ShankarSingh

  • The User portlet and the Portal User Profile portlet

    Im trying to create a sub administrator home page on version
    309, however the 'create user' portlet has been split into
    a 'create user' and a 'update user profile' portlet (as seen on
    the new default portal30 homepage).
    However the only portlet that seems to be available in the
    portlet list is 'update user profile' portlet.
    So how do I add the create user portlet to my homepage?

    I found the wwsec_api and wwsso_api_user_admin packages. I now know I can build my own user profile screen and use these APIs to add, update, and remove users.
    However, do I need to use the wwsec_person$ table, or can I create my own? Or can I add additional fields to the wwsec_person$ table? I have 7 additional pieces of information that need to be captured. I could just use some of the database fields in the table that we don't currently have use for, but then the name of the field will not accurately represent the contents of the data (i.e. store our "Organization" data in the "Department" field, our "DSN Phone Number" in the "Work Phone Number" field, etc.) and it would make for difficult maintenance.
    Can anyone offer suggestions as to how they implemented a customized User Profile, easily?

  • Accessing a user email address from the database

    Hi,
    I really need help with the following.
    I am adding functionality where users can set reminders that will then be sent to them by email when the reminder is due. I am going to utilise dbms_job to do this. My problem is that I am using apex authentication and users for the rest of the application and I need to retrieve the email address from apex. I cannot use wwv_flow_users as the email will be sent from a job in the database therefore there will be no current logged in user / workspace / session.
    There must be some way of accessing an internal apex table / view or something that can tell me what the email addresses of my users are without being signed into an apex session.
    Please help, this is quite urgent.
    Thank you in advance.
    Lee

    Hi,
    Glad to see that you've found.
    However would be very interesting to know how to retrieve user list without being in an Apex workspace.
    i would do as follows:
    When the first user of the day log into apex you could update a static table containig the email (taken select into from www_flow_user once a day).
    Then via a trigger you could start your batch proc, that needs updated email.
    Is not clean at all, but probably if your firm isn't too big this approach could work.
    By the way if you find how to retrieve the email not using www_flow_user, would be very nice to know.
    Message was edited by:
    Marcello Nocito

Maybe you are looking for