How to Get  the SSO Logged user information in database trigger

I need to track which SSO user is inserting data into a table , so how can i get the information of that user in a database trigger on that table
thanks

Try using portal30.wwctx_api.get_user returns a varchar2 (PUBLIC) or the Username that is logged in
I need to track which SSO user is inserting data into a table , so how can i get the information of that user in a database trigger on that table
thanks

Similar Messages

  • How to Get the Current Logged user location ID in SharePoint online

    Hi All ,
    Please suggest me how we can get the SharePoint online current Login user
    Location ID
    Actually i want to show the weather report in my SharePoint online site (App Part in SharePoint Online Site)
    Suppose SPO user Login From India(Delhi) so that i want to show the India(Delhi) weather report
    If Login user from US(dallas) so that US user see the US(dallas) weather report 
    Thanks
    Deepak Chauhan
    SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI Design

    @Mohamed
    Derhalli ,
    Suppose SPO user Login From India(Delhi) so that i want to show the India(Delhi) weather report
    If Login user from US(dallas) so that US user see the US(dallas) weather report
    so without using how we can show the weather report can you please suggest me how we can show the weather report
    Reply ..
    Thanks
    Deepak Chauhan 
    SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI Design

  • How we can get the current running user information in BusinessOne

    Hi experts,
    How we can get the current running user information in BusinessOne Application,
    Based on the user details i want to assign some functionality,
    Regards,
    Saidarao yakkala

    Hi,
    As per me you can't get detail by server side.
    If you want to know who are connected then you can use sp_who2 procedure in SQL query.
    That will display who are login.
    For more detail you have to check LOG file on client side in SAP B1 > Log folder.
    Thanks
    Kevin

  • How to get the  ESS & MSS users in ECC 6.0  into portal

    Hi Experts
    How to get the  ESS & MSS users in ECC 6.0  into portal
    Thanks
    Daya

    Hi,
    You need to have SSO in between ECC and portal and use ABAP engine as your UME.
    then ECC users can directly login to portal using the same user id and password.
    Or you can create the ECC system in portal and user mapping should be done for every user to the ECC system.
    Thanks,
    gopal

  • How to get the active application users IP address in R12 by sql command

    Hi ,
    I need to know how to get the active application users IP in R12 by sql command
    in order to kill any session by the IP address ?
    Am working on 12.1.3 Application
    And 11.2.0.3 Oracle Database
    Thanks

    936921 wrote:
    Am still couldn't found the IP address for the connected Application users.
    If there any select statement can help me with that?
    Really? Then how do you explain me finding the following docs from the links I referenced above?
    How To Find The IP Address Of The Client Machine From Where A Particular Forms User Is Connected ? (Doc ID 879092.1)
    How to Track IP Address of the Form Session in Oracle application 11i (Doc ID 878931.1)
    Where to find the Client IP Address for a Client in E-Business Suite? (Doc ID 1258415.1)
    How To Get The terminal ID For The Machine From Which A User Is Logged To E-Business Suite Applications (Doc ID 751658.1)
    Thanks,
    Hussein

  • How to get the list of users who has access for list of tcodes.

    How to get the list of users who has access for list of tcodes.

    Go to transaction SUIM, this has a number of reports for users/authorisations
    open the Where used>Autorization Values>In Users
    and double click to execute
    in authorisation object, enter S_TCODE
    then press the "Enter Values" button
    It will offer entry boxes to put the transaction code you are interesed in.
    Then execute and the list of users with access to this transaciton code will be returned.

  • How to get the current logged in username from windows and put it into an AS var

    Hello,
    I was hopeing someone would know how to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
    Thanks in advance
    Michael

    Just for everyone’s info, this is the script I have used to get the logged in windows username into flash ---- not and air app.
    In the html page that publishes with the .swf file under the <head> section:-
    <script language="JavaScript" type="text/javascript">
    function findUserName() {
         var wshell=new ActiveXObject ("wscript.shell");
         var username=wshell.ExpandEnvironmentStrings("%username%");
         return username;
    </script>
    The ActionScript:-
    import flash.external.ExternalInterface;
    var username:String = ExternalInterface.call ("findUserName");
    trace (username); // a quick test to see it in output

  • How to get the room id & user id in our component

    Hi Experts,
    Collaboration -> Rooms -> Room Directory
    It will show the available rooms
    Select restricted room tab in that.
    That will show the restricted room list, if you are not a member of the room you can request the room by clicking context menu of the room and select the “Request Membership” option. Then it will send the mail to the owner of the room.
    In that UI commend they mapped with the roomid and userid.
    I need to know how to get the room id & user id in our component.
    How to get the Room Id dynamically?
    Can anybody help me for this?
    Helpful answers will appreciate.
    Thanks and Regards,
    Kathiresan R

    Hi Kathiresan,
    you can get the Room ID and the User ID over the API.
    Getting User ID within WebDynpro application:
    IUser user = WDClientUser.getCurrentUser().getSAPUser();
    String logonId = user.getUniqueId();
    Getting User ID within custom Portal Component:
    IPortalComponentRequest request = (IPortalComponentRequest) httpRequest;
    IUser user = request.getUser();
    String logonId = user.getUniqueId();
    Getting Room Id of a user who belongs to this room:
    IUser user = request.getUser();
    IRooms roomsAPI = (IRooms) PortalRuntime.getRuntimeResources().getService(IRooms.PORTAL_SERVICE_ID);
    IRoom[] myRooms = roomsAPI.getAllRoomsForUser(user);
    String roomId = "";
    for (int i=0; i<myRooms.length; i++) {
      IRoom room = myRooms<i>;
      if (room.getName.equals('nameOfRoomToFind')) {
        roomId = room.getId();
    Greets
    Denis

  • Confition type FRC1- how to get the change log,

    Hi,
    When  the condition type FRC1 automatically gets deleted (deletion flag),. and we are not able to see the change log for the same.
    how the Conditions are deleted. Or if at all any one has deleted, how to get the change log,

    Check in
    m/06
    go to utilities
    change log
    If not found  consult BASIS consultant

  • How to find the number of users  connected to database from OS level(Linux)

    Hi All,
    Could anyone know , how to find the number of users connected to database without connecting with sql*plus
    is there any command to find it?
    example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
    oracle version:- 10g,11g
    Operating System:- OEL4/OEL5/AIX/Solaris
    any help will be appreciated.
    Thanks in advance.
    Thank you.
    Regards,
    Rajesh.

    Excellent.
    Tested, works as long as you set the ORACLE_SID first ( to change databases )
    ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
    Thanks!
    select OSUSER
        from V$SESSION
    where AUDSID = SYS_CONTEXT('userenv','sessionid')
        and rownum=1;Best Regards
    mseberg

  • How to get SSO logged user information in a database trigger

    my database is 9i
    my application server is 9i too
    I need to track which SSO user is inserting data into a table , so how can i get the information of that user in a database trigger on that table
    thanks

    Hi,
    The only way I could figure out how to get it was to import the com.sap.security.api.
    1. From Window>Preferences>Java-->Classpath Variables, set up a variable called WEBAS_HOME pointing to:
    <drive>/usr/sap/<SID>/jc00/j2ee/cluster/server0/
    2. Right click on properties of your Dynpro Project->Properties->Java Build Path->Libraries and click "Add Variable." 
    3. Select WEBAS_HOME and click "Extend"
    4. Select /bin/ext/com.sap.api.sda/com.sap.security.api.jar and click OK.
    If you don't have access to a portal directory, you will have to get this jar file and copy it to your workspace to add to your build path instead of the above steps.
    Then in your code:
    import com.sap.security.api.IUser;
    import com.sap.security.api.IUserAccount;
      public void GetLogonID( )
         String LogonID;
         try {
              /*     create an user object from the current user */
              IWDClientUser wdUser = WDClientUser.getCurrentUser();
              IUser user = wdUser.getSAPUser();
              if (user != null) {
                   IUserAccount acct = user.getUserAccounts()[0];
                   if (acct != null) {
                        LogonID = acct.getLogonUid();
                   } else
                        LogonID = "acct null";
              } else {
                   LogonID = "user null";
              wdContext.currentContextElement().setDisplayName(user.getFirstName() + " " + user.getLastName());
              wdContext.currentContextElement().setLogonID(LogonID.toUpperCase());
         } catch (Exception e) {
              e.printStackTrace();
    Hope this helps...  I had to search several places before I found all the necessary stuff.  Maybe I can get my first points!
    Thanks,
    Andrew

  • How to get the SSO user from PL/SQL with Windows native authen

    I connect to a 10g daabase using SSO through Windows Native Authentication wher the OID user mapps to a single Database user.
    I need to get the SSO user from pl/sql
    My fornt end is Portal & Forms

    Hmm, I see.
    Well your problem boils down to being in the database and needing to have access to web environment variables. The SSO sets specific variables in the environment but your stored procedure is not privy to them.
    Now having said that, note that the mod_plsql Web Toolkit has a utility for accessing cgi variables. For instance,
    owa_util.get_cgi_env('Osso-User-Dn')
    If your web application cannot capture the SSO info and pass it to the stored proc in a parameter, OWA may be the only way.
    Check out the Single Sign-On Developers Guide, specifically the part about developing statically protected PLSQL applications.
    Hope this helps.
    regards,
    tt

  • How we can get the current login user information.

    Hai Experts,
    How we can get the Curren Runnig user, while running the application,
    I tried the below one, but it was not working,
    Dim s As String
    s = objApplication.Company.UserName
    Regards,
    Saidarao yakkala

    Hi.
    Are you try to get and present current user name in workbook or WAD ?
    You may use user exit variable based on sy-uname.
    If you run WAD you may use built webitem info_field and show current user name.
    Regards.

  • How to get the job logs from sm35 by using the queue id and session name?

    hi all,
    can any one please let me know how to read the job log from sm35 by using the session name and queue id. i have the job name and job count but is it possible to download the job log by using the queue id and session name.
    FYI..
    i want to read this job log and i want to send it to an email id.
    -> i am using the job_open and submitting the zreport via job name and job count and then i am using the function module  job_close.
    but this is not working in my scenario i have the queue id and session name by using this two i want to get the job log is there any function module available or code please provide me some inputs.
    thanks in advance,
    koushik

    Hi Bharath,
    If you want to download it to the local file then you can follow the instructions in the below link.
    How to download Batch Input Session Log?
    Regards,
    Sachin

  • In fnd_request.add_layout how to get the layout in user login language

    Hi All,
    I am using fnd_requet.add_layout
    function add_layout (template_appl_name in varchar2,
    template_code in varchar2,
    template_language in varchar2,
    template_territory in varchar2,
    output_format in varchar2,
              nls_language in varchar2 default null) return boolean;
    how to pass these template_language and template_territory to get the output in user login language.
    Thanks in advance
    Jana

    You can get the values from NLS_SESSION_PARAMETERS
    Query for language
    SELECT LOWER(FL.iso_language)
    FROM NLS_SESSION_PARAMETERS NSP
    ,fnd_languages FL
    WHERE NSP.parameter = 'NLS_LANGUAGE'
    AND NSP.value = FL.nls_language;
    Regards
    Nishka

Maybe you are looking for

  • Error while migrating 10G BPEL to 11G

    Hi All, I am trying to migrate BPEL 10G (10.1.3.5) project to 11G (11.1.1.5) using JDEV. I am opening the project in JDEV 11G and its taking forever, its also not giving any error. Has anyone faced issue like this. Please advice. Thanks Yatan

  • Moving a Query (sq01) from one system to another

    Hi All Is there any way to copy or export a query so that I may import it into another system?  If so, please tell me how. Thanks Vinesh

  • Copy and Paste WLAN password (PSK-key) on E7-00

    It took quite long to find out how the 128 character password of my private WLAN can be copied and pasted in the PSK-key field. Now I found the (not documented) solution and would like to share it with other users. Simply press and hold the Shift key

  • Photo Booth - Custom Sound Effect?

    Is there any way I can set Photo Booth to play a custom sound effect each time a photo is taken rather than the default shutter sound? Thanks!

  • IPhoto won't open after reinstalling

    iPhoto won't open after installing "bundled software only" from the Leopard cd. The thing is that I already had everything installed , I installed the bundled software thinking that it would install the bootcamp in my mac (I know , I'm stupid...It is