4 Replies Latest reply on May 22, 2012 4:05 PM by philmodjunk

    Verify username in a script

    ryyno10

      Title

      Verify username in a script

      Post

      Is there a way to authenicate a password against a domain while logged in as different user?  For example, If User A is logged in and User B needs to provide an electronic signature, can User B's signature be verified via script if User A is logged in?  I know it's an odd request but I need to set up an image database that a physician will use to "sign off" on CT image files (...Long story short).  It's not an option to have the physician login to do so because of time constraints.

      I'm using FMS 11 with external authentication over a hospital network... 

        • 1. Re: Verify username in a script
          philmodjunk

          Why would USER B entering data whild USER A is logged in be a problem? The data can be entered into a global field and scripts that "run with full access privileges" can still access the data for USER B if that should be necessary.

          • 2. Re: Verify username in a script
            ryyno10

            Essentially the physician would view the image on a computer station on a simulation room monitor where he would then need to electronically "signoff" on the image.  This image will be prepared for him to see via a different user account (a therapist's account).  I need a way to verify against the physician account because the therapist will still be logged in.  I know it sounds goofy but some of our doc's come in and out of the room in less than a minute sometimes.   

            • 3. Re: Verify username in a script
              Sorbsbuster

              We use a medical records system that lets you record your 'signature' with a PIN.  That doesn't require true FM re-log in (although that is very fast, anyway).  You just click the button and sign in with your PIN, and now we know who you are, so you just click an 'Approved' button or whatever and it records your name.  It is as fast as typing a few numbers.  One click logs out of you PIN and away you go.

              (Note that you don't actually want the user name, you want the account name.

               

              • 4. Re: Verify username in a script
                philmodjunk

                That's exactly what I understood you to mean. I don't see why you have to change the log in just to capture the doc's signature.

                Collect the signature in a global field. Identify the Doc by selecting a name from a value list set up on another global field. Click a button or trip a script trigger that then logs/verifies this info as needed. The scripts need not be restricted by your current user's privilege set limits as the script can be set to run with full access privileges.