Getting user details in a form

Hello,
I am trying to get a form to display the email address of the Administrator who is entering data into the Form.
The form is tied to an Admin Role, so many different users can summon the form up.
What XPRESS code would extract the email address of the User object who is logged in and entering the data into the (say) Create New User form.
Regards, GMN

Are you sure of this?
I want to display the email address of the User logged in ON THE USERS FORM when he creates a new user or edits a user.
i.e. I have a FORM say MyTabbedUserForm which is used by the admin user. Lets say this Form is used by several administrators Admin1 Admin2 Admin3 all these 3 have MyTabbedUserForm set as their 'User Form'
What I want is to display in a label on MyTabbedUserForm the email address of Admin1 if it is Admin1 who logged into the admin interface and is creating a new user, or the email address of Admin2 if it is Admin2 who logged into the admin interface and is creating a new user and so on.
<ref>WF_CASE_OWNER</ref> doesnt cut it as the Form has no workflow.
Maybe a better question to ask, if how do I determine the accountId of the User logged in?
It must be possible as I can see on the admin interface the text "Logged in as: xyz"
If I knew the accountId of the user logged in, then I can get the email etc etc..
Can anyone really help?
thanks

Similar Messages

  • 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

  • Unable to get User Information in infopath form hosted on sharepoint online(2013)

    Im trying to retrieve user information (department, Manager, Work E- Mail, Etc..) into an infopath form hosted in sharepoint online using "/_vti_bin/UserProfileService.asmx"
    web service. But it returns me an error when im opening the form as :
    An error occurred while
    trying to connect
    to a
    web service. Error ID 5566
    Any idea about how to get those  information into a form which hosted in Office365 environment?
    Thanks.

    I believe this is a known issue:http://support.microsoft.com/kb/2674193/en-us

  • How To Get User Details in Collaboration ....?

    HI,
    In collaboration i am unable to see the full User Details (Like Mobile Phone Number, E-Mail Address, etc)  ,When i was click on
    user Names. Here i will get full  User Details for some users and for some users i did not get(But getting only Last Name &  User ID )  . Here we  already having Data in User
    Profiles.

    Hi,
    Maintain the user profile information for all the users in Identity management.
    Regards,
    kiruthika

  • Getting User Details using objectid

    Hi,
    First i am querying the projects using ALUI IDK
    ===========
    IProjectManager projectManager = GetProjectManager(Request, Response);
    IProjectFilter projectFilter = projectManager.CreateProjectFilter();
    projectFilter.NameSearchText = searchText;
    Plumtree.Remote.PRC.Collaboration.Project.IProject[] projects = projectManager.QueryProjects(projectFilter);
    =================
    then i am retreiving User IDsadded as Project Leader
    ========================
    IRole role = null;
    RoleTypes roleType = RoleTypes.Leader;
    role = project.GetRole(roleType);
    int[] GroupID = role.GetMemberIDs(MemberQueryTypes.AllGroups);
    Display Group ID
    =========================
    Now the issue is i am not able to figure out how to get the users detail ie authusername, login name etc present in the groups that are retrieved.
    Regards,
    Ankit
    Edited by: electrazy on Jul 18, 2011 11:39 AM
    Edited by: electrazy on Jul 20, 2011 2:22 AM

    Hello electrazy,
    This is not possible from within the IDK. The best you can get are the Extended Data properties that are associated with the user object in the Global Property Map. If you want to get user information like the authentication name and the login name, you'll have to use the Portal Server API or directly query the database.
    -Mike Headley, WCI Developer Support

  • 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");

  • Want to get user ID in oracle forms

    Hi All,
    I'm working with oracle 11g and E-BS R 12.1.2 . I created a custom form using oracle form builder and attached to E-BS. I want the user ID current logged in user. I used this command FND_PROFILE.VALUE('USER_ID') but it doesn't work.
    How can I get the user_id of the current user.
    Thanks & Regards,
    Mack

    SQL> select FND_PROFILE.VALUE('USER_ID') from dual;
    FND_PROFILE.VALUE('USER_ID')
    SQL> begin fnd_global.apps_initialize(1229, 20604, 260); end;
      2  /
    PL/SQL procedure successfully completed
    SQL> select FND_PROFILE.VALUE('USER_ID') from dual;
    FND_PROFILE.VALUE('USER_ID')
    1229
    SQL>

  • Get user details in Property Filter

    Hello all,
    I want to get  the IUser details inside filter() method of PropertyFilter.
    Thank You
    Regards,
    Devasarathy Pandi.

    Dear Detlev Beutner ,
    Thank you for your Reply. You are absolutely correct.
    Here is my code:
    IUser user = this.createResource(String).getContext().getUser();
    myLoc.infoT("IUser Name -->  "user.getName()" ID --> "+user.getId());
    IResource recurso = this.createResource((String) this.values.get(0));
    IResource res = this.getResource();
    myLoc.infoT("User Created By is -- > "res.getCreatedBy()" Name "+res.getName());
    **These code doesn't help to us.**
    Thank You Very Much.
    Note:
    If anybody wants to create repository service, we again follow the Mr. Detlev Beutneru2019s code.
    Ref:  Documents hits count (KM Activity Reporting)
    Thank You,
    Regards,
    Devasarathy Pandi.

  • How to get user detail (Customer number) in Visual Composer

    Dear All
    I am developing a Sales Order Search application for Customers of my company.
    Whenever customer logs in to the portal and access this application, he will get the information on Sales Orders created by him.
    VC application should capture the customer number of the user and execute the BAPI.
    I am not able to capture the customer number of the customer logged in.
    In our portal implementation, customer number is a customized entry in Identity management.
    Using User Data in VC is not helping me as I am not able to see customer number in it.
    Kindly help.
    Regards
    Vineet Vikram

    Hi
    It is resolved now.
    Regards
    Vineet

  • Help with Script to get user details

    Hi All
    I am trying to get a list of groups that the currently logged on user belongs to. I came accross an interface in the RG "UserAccountIBeanIfc" which has a method "getGroupsAsCollection".
    The problem is that i do not know how to call this method.
    Help would be appreciated and points awarded!
    Regards
    Thashin

    Hi Thashin  -
    I understand what you are trying to do now. You can definitely accomplish what you are trying to do using the IAPIs. Logically, here is what you need to do:
    - Get the User Account Bean for the current logged in user
    - Get the list of user groups from the User Account Bean
    - Iterate over the list to see if the logged in user is a member of the user groups required to perform the operation
    - If the user is a member, let the operation be executed
    - If the user is not a member, throw an exception using ApplicationException
    To get the User Account Bean for the current logged in user, you would use code such as:
    accHome = IBeanHomeLocator.lookup(session, session.getAccount().getAccountObjectReference());
    accBean = accHome.find(session.getAccount().getAccountObjectReference());
    The accBean would have the method on it that you want to use to get the list of user groups:
    groupColl = accBean.getGroupsAsCollection();
    You should then be able to iterate over the groupColl to establish whether the user is a member of any of the required groups.
    I hope this helps. Good luck.
    Rob
    PS: Please don't forget to award points if this was helpful.

  • PAR Application Deployment User Details

    Hi Experts,
    I need to get User details for the user who deploys par application from System Administration.
    In my landscape i came to know that Some one is re-deploying the few par application again and again,
    That has created so much of problem So i need to get the user details.
    Is there any way to track the user details ??
    The Par application is local development its not in NWDI Track.
    Regards,
    Piyush

    There are logs and traces created for the portal events in following areas:
    Log files - <drive>:\usr\sap\<SID>\<instance_number>\j2ee\cluster\serverX\log\system\security.log where role creation is an event, and is logged.
    Traces - <drive>:\usr\sap\<SID>\<instance_number>\j2ee\cluster\server0\log\defaultTrace.trc
    Hope this helps.
    BR,
    H

  • Return the user detail after validate the SSO token

    Hi all ,
    Iam new to Oracle CRM on demand. I want to know is there a way to get user details when validating the SSO token. After SSO validation success then need to return the user detail (User first name, email, last name, etc ).
    Please help me

    Hi Vikas,
    I have done the same setup as your sample application. I am using
    <br>
    Branch URL : <br>
    f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.::::::#&P1_ANCHOR.
    <br>
    Computation for P1_ANCHOR:<br>
    case :REQUEST
    WHEN 'P1_A_SCN' THEN 'P1_A_SCN'
    ELSE NULL
    end
    <br>
    Anchor Code in region header for item P1_A_SCN:<br>
    < a name="P1_A_SCN">< /a >
    <br>
    When I use the select list it wont come back to the region where the select list P1_A_SCN is located. I checked for the value in P1_ANCHOR in the session state and it correctly shows as 'P1_A_SCN'. But the page URL after the submit does <b>not</b> show the anchor like<br>
    ......f?p=206:1:14418154115565883485::::::#P1_A_SCN it shows <br>
    ......f?p=206:1:14418154115565883485::::::
    <br>
    When I but the branch URL as <br>
    f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.::::::&P1_ANCHOR. without the '#' it shows the page URL as<br>
    ......f?p=206:1:14418154115565883485::::P1_A_SCN
    <br>
    Do you what is causing the anchor to not show up in the page URL and thereby the intra page branch to not work.
    Thanks,
    Swaroop

  • Tabular Form - How to store in a column the User details (APP_USER)

    Hi all,
    I have let's say the following table:
    USER_COMMENTS(
    ID number primary key,
    COMMENT_TEXT varchar2(50),
    POSTED_BY_USER varchar2(50),
    DATE_POSTED date,
    UPDATED_BY_USER varchar2(50),
    DATE_UPDATED date)
    How do I, using a Tabular Form, get the USER details in the columns POSTED_BY_USER and UPDATED_BY_USER and the SYSDATE in DATE_UPDATED...
    I've tried the following:
    Created tabular form, all fields included. In Report Attributes > edit UPDATED_BY_USER > Display as Display as Text (saves state); Default Type: Item (application or page item); Default: APP_USER.
    It's not working.
    Thanks!
    Andrei

    It has to be a text field column type with source like the other updatable columns. You should hide that column and create a second of display as text if you want to show the content. Once this is done then you can use the default value and just type the item name there as you did:
    P1_ITEM
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • How do I get the Manged bean and Taskflow logic for Disable button in User details Modify page

    Hi,
    I have a requirement where I have to add to custom buttons like "Terminate" and "Reinstate" in the users detail page. Terminate is closely modeled with "Disable" button of user details page. Before I develop the custom beans and register the task flow for the custom button, I just want to understand the logic written in the managed bean for "Disable" button and understand what is there in its associated task flow. Am trying to get these details from OIM. Not sure where exactly I can get the code for this and customize as per my requirement.
    Please suggest the exact location?
    Raghu

    Thanks for the information - I still was hoping that the article Mario mentioned above was accessible (perhaps just moved)?  Somewhere on the BC system?  Just so I can add it to my BC help folder - as well as even share it with clients who want to try things on their own (best to give them some help in that direction so they don't fumble through things).
    I have the checkout form populating information, if they have purchased in the past it will populate their address - but I am also trying to get their "account page" to do the same  (basically show them what their current information in the system is - then allow them to update whatever might be wrong or need changes).  We have a login page, for people to sign up without having "bought" something - so the CRM won't have their billing/shipping info in the system yet.  Trying to capture that without a purchasing being made.

  • Script to get the user details by running a view from powershell

    Hi,
        I have a use-case of getting the list of users, who got modified in last one week or so. There was no direct way of getting the results as office-365 doesn't have the option. As i posted in a forum they suggested to use view based for retrieving
    the user details. I was able to get some user details through UI. When i asked for the option of getting it from powershell they suggested to post in this forum. Link on the question posted in forum is
    community.office365.com/en-us/forums/148/p/212305/646170.aspx#646170 your help is appreciated. Thanks in Advance

    Hi Sam,
    My list of servers are exported from CMDB data base and filter criteria i have used is role,status and first few characters of the server name.
    $CIlist = Import-Csv C:\Scripts\DiskSpace\Servers_CI.csv
    $diskspace = @()
    $CIlist | where {($_.Name -like '*XXXXXXXX*') -and ($_.Role -like '*XXXXXXXXXX*') -and ($_.Status -like '*XXXXXXXXXXXXXX*') } |
    select Name | FT
    # This part gives the list of servers.
    # below script gives the hard disk details of servers from a list
    $comp= Get-Content "C:\Scripts\DiskSpace\systems.txt"
    $diskvalue = @()
    foreach($pc in $comp)
    if (test-connection -CN  $pc -Count 1 -erroraction silentlycontinue)
        $diskvalue += Get-WmiObject -Class Win32_logicaldisk -ComputerName $pc -Filter DriveType=3 | 
        Select SystemName , DeviceID , @{Name=”size(GB)”;Expression={“{0:N1}” -f($_.size/1gb)}}, @{Name=”freespace(GB)”;Expression={“{0:N1}” -f($_.freespace/1gb)}}
        $diskvalue | Export-Csv C:\Scripts\DiskSpace\DiskReport.csv -NoTypeInformation
    else
    "$pc `t offline" | Out-file C:\Scripts\DiskSpace\offlinesystems.csv -encoding ASCII -append
    Is there any option to pass the result of first part to second part without exporting to a csv ot txt. or club this both together ??
    ToJo

Maybe you are looking for