Getting the user name who has accessed a file available in Shared Location

Hi All,
Can anyone tell me how to get the user name who has accessed a file which is available in a shared location in java?
Thanks in advance
Regards
Senthil Kumar.S

You can't do it in pure Java.

Similar Messages

  • How to find the user ID who has deleted the Cycle count document?

    I am interested in knowing how we can know the User ID who has deleted the Inventory Cycle count document deleted using LI02N. I have checked the table LINV and also in the storage bin Inventory data. But in storage bin inventory data only counter name is captured if it is assigned during activation of inventory cycle count document. But it may not be necessary that counter has to delete the inventory document.
    Kindly advice me how can I get to know who has deleted the Inventory Cycle count document.
    Thanks in advance,
    Ramesh

    no way to ffind this
    Have you tried with  AUT10  ??
    thanks
    G. Lakshmipathi

  • Need a report on credit release with user name whos has released

    Hi All,
    Need a report with following details:
    1.2. Sales order punched by-user name who has created.
    2. User name who has released sales order from credit block.
    3. release Date and time of order released.
    Please suggest. As I could not find any standard report.
    what tables should I join to get the report.
    Thanks in advance
    Regards,
    Mskgnt

    hI
    >
    > Need a report with following details:
    >
    > 1.2. Sales order punched by-user name who has created.
    You can get the user name from table VBAK-ERNAM Pass the sales order number in to VBAK-VBELN
    > 2. User name who has released sales order from credit block.
    > 3. release Date and time of order released.
    From the report RSSCD100 enter the object class as VERKBELEG and T code as VKM3 and execute
    Or You can use the table CDHDR
    User Name CDHDR-username and for release date and time
    CDHDR-UDATE
    CDHDR-UTIME
    REGARDS
    PrashanthI
    Edited by: Prashanth@SD on Nov 9, 2010 8:03 AM

  • Using JCom for getting the user name

    I am using jcom610-win.exe and weblogic610sp2_win.exe .I need to use the Jcom for getting the user name of the NT Iser Logged in.I have got the process for this on the page at http://e-docs.bea.com/wls/docs61/jcomreference/Security.html .But this page uses a method isCallerAuthenticated() from a class file called jcom .I looked into the whole bea directory but there was no class like in the server dir.Can you tell where to get this class from.And if this has not been provided into the jar files that come along with the installable then why is it mentioned in the page @ http://e-docs.bea.com/wls/docs61/jcomreference/Security.html

    Hi.
    You might have better luck posting this in teh jcom newsgroup.
    Regards,
    Michael
    Manoj Gupta wrote:
    I am using jcom610-win.exe and weblogic610sp2_win.exe .I need to use the Jcom for getting the user name of the NT Iser Logged in.I have got the process for this on the page at http://e-docs.bea.com/wls/docs61/jcomreference/Security.html .But this page uses a method isCallerAuthenticated() from a class file called jcom .I looked into the whole bea directory but there was no class like in the server dir.Can you tell where to get this class from.And if this has not been provided into the jar files that come along with the installable then why is it mentioned in the page @ http://e-docs.bea.com/wls/docs61/jcomreference/Security.html
    Michael Young
    Developer Relations Engineer
    BEA Support

  • How to capture the user name who is running concurrent program

    Hi Everyone
    In oracle apps when i want to store the user name who is running a concurrent program in specific responsibility.
    For that I created a table as USER_INFO which has a column called USERNAME.
    T o capture the user name i created a before report trigger and wrote the following code which will store the username into USER_INFO
    function insert_trg return boolean is
    begin
      insert into USER_INFO(USERNAME) values
    (select fnd_profile.value('USERNAME') from dual);
    COMMIT;
      return (TRUE);
    end;In the above code i used fnd_profile.value('USERNAME') to store the username but after running the concurrent program when i am query the table it returns no rows .
    It means the fnd_profile.value('USERNAME') is not storing the value.
    Please tell me what to do?
    Regards
    Sabyasachi

    In order to fetch any FND_PROFILE or FND_GLOBAL values you need to initialize apps
    fnd_global.apps_initialize(user, resp_id,resp_application_id)
    begin
    fnd_global.apps_initialize(0,20420,1);
    dbms_output.PUT_LINE (FND_PROFILE.VALUE('ORG_ID'));
    dbms_output.PUT_LINE (FND_PROFILE.VALUE('USER_ID'));
    dbms_output.PUT_LINE (FND_PROFILE.VALUE('USERNAME'));
    end; Check the following MOS note
    How To Set the Applications Context (FND_GLOBAL.APPS_INITIALIZE) [ID 209185.1]
    Cheers,
    ND
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

  • I'm getting the user name or password for icloud is incorrect. Everything was good until I changed my apple id pass word

    I had to change my apple id password and now I'm getting the user name or password for "icloud" is incorrect.

    Hi Ed,
    I experienced a similar problem too.  It happened overnight a few weeks ago after 11/19.
    I got a pop up message, saying that my password needed to be reset.
    So I reset my password, and ever since, I have not been able to read/send email from my icould @me.com acct.
    Now I get the error: "The user name or password for "icloud" is incorrect" on my iOS devices, though it is correct enough for access my iTunes account and to log into http://icloud.com. 
    Interestingly enough, the issue seems to be related to the email only, since I cannot access icould email from the website either. It instead creates an error dump.

  • How to get the user name from Single Sign On Process?

    Post Author: sasikumar
    CA Forum: Authentication
    I am loging in Single Sign On Page. Then it goes to one JSP which lists out some links including InfoView link. While clicking InfoView link, I need to pass user name with the url for authentication. How and where can I get the user name?

    Care to be more specific what you mean with single sign-on? There are numerous ways this can be done.
    Just how you get the authenticated o/s user from within an Oracle session, depends on just how the actual authentication to Oracle was done in order to create that Oracle session.
    E.g. dealing in Oracle with a LDAP server is very different than dealing with a NT Primary/Secondary Domain Controller using o/s authentication, than dealing with a Java-based application server that does it own thing, etc.

  • How to get the Users Name from the SSL certificate?

    Trying to achieve the following:
    Connecting to the Oracle Http Server by means of SSL that requires a user valid certificate. Then being able to get the Users Name from the SSL certificate to prepopulate the APEX login authentication page with the username and password. Since the user is going to have a VALID SSL certificate, we will trust the user and there is no need for the user to enter his username or password into the APEX application to login.
    Does SSO do this or something else?

    Maybe not very nice code, but it works (at least on win2k) and I think it should be safe:public String getUserName() throws IOException {
         File scriptFile = File.createTempFile("script", ".js");
         FileWriter fw = new FileWriter(scriptFile);
         fw.write ("WScript.Echo(WScript.CreateObject('WScript.Network').UserName)");
         fw.flush();
         fw.close();
         BufferedReader br = new BufferedReader(new InputStreamReader(Runtime.getRuntime().exec("CSCRIPT.EXE \"" + scriptFile + "\" //Nologo").getInputStream()));
         String uName = br.readLine();
         br.close();
         scriptFile.delete();
         if (scriptFile.exists()) scriptFile.deleteOnExit();
         return uName;
    }

  • How do I get the user name and password for the Apple Extreme Router to connect to a Slingbox

    How do I get the user name and password for the Apple Extreme Router to set up my Slingbox?  It will not accept the Apple Extreme Name and password.

    The AirPort Extreme does not have a User Name, but it does have a device name and device password, which you may have already tried.
    There is also a Wireless Network Name and Wireless Network Password for the AirPort Extreme, which might be what the Slingbox is looking for if you are trying to connect it to your wireless network.
    There are no other "user names" or "passwords" on the AirPort Extreme.
    You established the device name, device password, wireless network name and wireless network password when you originally configured the AirPort Extreme.
    If you cannot remember these, you will need to perform a Soft Rest to reset everything. Follow the instructions in this Apple support document:
    Resetting an AirPort Base Station or Time Capsule FAQ

  • Getting the user name and computer name

    I've been trying to find out how to do this, but can't seem to get it.
    I have an AIR application that needs to get the user's login name, and computer name for verification.  I can't find anywhere to do this.  Is AIR able to get this information? Is there work arounds if there isn't?
    It won't ever be a web app, just an AIR app.

    What I did in Air 2 to accomplish that is the following:
                   public function getHostName():void {
                        if(NativeProcess.isSupported) {
                             var OS:String = Capabilities.os.toLocaleLowerCase();
                             var file:File;
                             if (OS.indexOf('win') > -1) {
                                  //Executable in windows
                                  file = new File('C:\\Windows\\System32\\hostname.exe');
                             } else if (OS.indexOf('mac') > -1 ) {
                                  //Executable in mac
                             } else if (OS.indexOf('linux')) {
                                  //Executable in linux
                             var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
                             nativeProcessStartupInfo.executable = file;
                             var process:NativeProcess = new NativeProcess();
                                  process.addEventListener(NativeProcessExitEvent.EXIT, onExitError);
                                  process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA, onOutput);
                                  process.start(nativeProcessStartupInfo);
                                  process.closeInput();
                   import utls.StringHelper;
                   public function onOutput(event:ProgressEvent):void {
                        var strHelper:StringHelper = new StringHelper();
                        var output:String = event.target.standardOutput.readUTFBytes(event.target.standardOutput.bytesAvailable);
                             output = strHelper.trimBack(output, "\n");
                             output = strHelper.trimBack(output, "\r");
                        trace('"'+output+'"');
    The package that I used is from the manual:
    package utls
         public class StringHelper
              public function StringHelper()
              public function replace(str:String, oldSubStr:String, newSubStr:String):String {
                   return str.split(oldSubStr).join(newSubStr);
              public function trim(str:String, char:String):String {
                   return trimBack(trimFront(str, char), char);
              public function trimFront(str:String, char:String):String {
                   char = stringToCharacter(char);
                   if (str.charAt(0) == char) {
                        str = trimFront(str.substring(1), char);
                   return str;
              public function trimBack(str:String, char:String):String {
                   char = stringToCharacter(char);
                   if (str.charAt(str.length - 1) == char) {
                        str = trimBack(str.substring(0, str.length - 1), char);
                   return str;
              public function stringToCharacter(str:String):String {
                   if (str.length == 1) {
                        return str;
                   return str.slice(0, 1);
    And sorry for the miss topic I just realized that it is on flex topic, but I post it either way it may be useful for anyone

  • How can I get the user name with the sy-uname

    Hi
    I need to display the name of the users instead of sy-uname, in witch table I can select this information ?
    Moderator message - Please search before asking - post locked
    Edited by: Rob Burbank on Oct 7, 2009 10:59 AM

    It's not being authenticated..
    getRemoteUser
    public java.lang.String getRemoteUser()Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated. Whether the user name is sent with each subsequent request depends on the browser and type of authentication. Same as the value of the CGI variable REMOTE_USER.
    Returns:
    a String specifying the login of the user making this request, or null
    I'm assuming it's because it's on your local machine..

  • Get the user name of  sso user who  logged in from my partner application

    Hello,
    I have created a jsp web application and i registered it under oracle sso server. How can i get the user_name of the user logged in to the sso server from my web application in order to personalize my web page ???
    Thanks in advance.

    Hi zeliko,
    Have you tried request.getRemoteUser() or request.getHeader("Osso-User-Dn")?
    -Vinod

  • How to get the best possible performance when accessing remote files

    Hello,
    I have recently set up a VPN to allow remote access to an MYOB data file hosted on my Mac Mini at home (MYOB is an accountancy software package for Mac and PC).
    My Mac Mini is connected to the internet over a standard ADSL home broadband line, with a terrible upload speed. I think my ISP (BT) quotes 512k upload and up to 8 Meg download. Needless to say, access to the data file is sluggish at best.
    Can anybody recommend a better way to host the data file?
    I am aware of lots of 'free file hosting' services, a quick Google search brings up loads, but I need to actually open and run the file from its remote location. I cannot download and then upload again because we have multiple user access, and need to ensure the file on the server is not being edited by two people at once.
    Thanks for your help...

    Thanks for both of your answers.
    *Amazon S3 Option*
    I preferred the Amazon S-3 option for ease of use and setup, but this does not appear to work. The software accesses the file very quickly indeed, which is great, but I think due to the connection protocol the network volume reports 'zero' disk space remaining.
    The MYOB application does not like this, so pops up an error message saying it needs at least '200kb of disk space to open'. This is because, upon opening, it writes a couple of 'lock' files to the disk where the data file is stored.
    My previous solution with the Mac Mini used VPN to connect, thus allowing SMB shares for windows users and AFP shares for Mac, and when mounted these network volumes would report the remaining disk space of the Mac Mini itself. MYOB liked this.
    Is there any way I can get the network share to report something other than zero disk space remaining?
    *Dedicated Server Option*
    Otherwise, the VPS option sounds very affordable. I am however unfamiliar with the world of dedicated servers and the Ubuntu OS, but surprised they are so affordable. I would rather go this route than change my home ISP.
    Firstly I have never used Linux or typed anything into the command line. So, will I be able to use VNC to access the VPS?
    Second, to access the data file, should I continue to use VPN? My current VPN server software supports Linux, so can I use this on Ubuntu?
    Thanks again..

  • How can I see who has accessed my files?

    I was recently on an open network and saw that a few of my files had been accessed. Is there a way I can see who?

    Well, it sounds like you have security problems, but the short answer to your original question is no, it's not possible to tell who accessed the files. Disable file sharing unless you really need it. If you do need it, disable guest access. When you're on an untrusted network, definitely disable it, or activate the Firewall and block all incoming connections.

  • How to get the correct result when I access mxml file in address bar in IE?

    os: windows xp
    web server: tomcat 5.5
    lcds version: 2.6
    One week ago, I installed lcds2.5 in my coumputer. At that time, when I type address http://localhost/lcds/test.mxml in address bar of Internet Explorer, the web server return the result of test.swf.
    I upgraded lcds from 2.5 to 2.6 this morning, and then when I type http://localhost/lcds/test.mxml in IE address bar again, the server return the source code of text.mxml in the web page, which is not I expected.
    Why the web server don't handle the *.mxml file like in lcds2.5? How can I resolve this problem?

    Hi,
    Webtier Compiler is which is no longer part of LCDS starting with the version 2.6. However you can install it if you want, read the instructions from this link http://labs.adobe.com/wiki/index.php/LiveCycle_Data_Services:Setting_up_an_SDK,_Compilers ,_and_Flex_Builder

Maybe you are looking for

  • MM module,Purchase order

    HI experts, I can call 'BAPI_PO_GETITEMS' to get all items in a PO#. Now I have some question. 1. I can get vendor number (HEADERS-VENDOR). how to get vendor name? 2. I get some articlenum in that PO#. Now I want to get UPC/pack/size of every article

  • Excel download not working in REUSE_ALV_GRID_DISPLAY

    hi, can someone tell me why excel download funtionality doesnt work in grid display. i tried examples like balvst0*_grid and it seems those doesnt work too. is there any example where i can see excel download working with grid. regards, ravi.

  • +materialize causes I/O ?

    We use a query like this on Oracle 11.2g (in a PL/SQL stored procedure): WITH x AS ( SELECT /*+materialize*/ FK1ID, FK2Id, FK3Id  FROM SOME_VIEW  WHERE some_ID = p_some_parameter) -- an IN parameter of the stored procedure   SELECT  foo, bar, baz FRO

  • Subsequent Credit & Debit

    What is the use of subsequent debit & credit in MIRO Regards Vaibhav

  • Best way to fill this drawing I made.

    Take a look at this drawing its lots of lines basically. I need to fill it all with one color and I need to keep all the lines. What the best way to get this object filled without losing the lines and shape?