How do you handle change in user names if folks get married or divorced

If an application is using the apex authentication scheme, how do you handle change in user names if folks get married or divorced. The reason I ask the question is that all of apex uses v('app_user'), which is the user_name. If I have transactions done by this user and then their name changes, which means so does their id, how do I get all of their transactions, before and after the name change. Traditionally I would expect to use user_id, not sure if this feature is still available. I can always create a custom auth scheme, but that is a lot of additional work. Any ideas?
Thanks,

Appreciate your help and time Jari, below is my game plan, unless someone has a better idea,
I plan on doing the following to use user_id for auditing of transaction records:
1. Get the user_id to use in the tables audit trail fields
user_id := apex_util.get_user_id(v('app_user'));
OR
user_id := apex_util.get_current_user_id;
2. If a user changes their name then use
apex_util.set_last_name(p_user_id, p_new_lastname);
apex_util.set_username(p_userid, p_new_username);
Thanks,

Similar Messages

  • When setting up a new ipad how do you know what your user name is?

    When setting up a new ipad how do you know what your user name is?

    How to set up Apple ID
    http://support.apple.com/kb/ht2731

  • Time Machine - How do you not migrate computer user name?

    Hello,
    I am going to be selling my Mac Pro (MA970LL/A) and getting a Macbook Pro.  In the past, I have used a time machine total migration.
    I was thinking about doing it again but I do not want the username/computer name to transfer as well.  I want this laptop to have a completely new, different name.
    Is there a way to do this transfer and still give the computer a new username/computer name?
    I appologize if I did not use the correct terminology.
    I am refering to this:
    Macintosh HD>Users>Name
    also appearing in that folder is:
    Machintosh HD>Users>Shared   ... if that helps.
    Thank you for your help!

    If the new name is different from the old one, then MA will migrate the old account, automatically keeping the old username.
    I'm not sure we are on the same page here, so to reiterate for clarity.
    You are getting a new computer.
    You want to migrate your old account to the new computer but want to change the account's username.
    When you get the new computer to through the setup and when you are asked to configure the intial admin account you need to use the same username of the old account (the one you will be migrating.) When MA starts the migration process it will prompt you to either Cancel or Rename the account you are migrating. You can then assign the username you would like for the migrated account. MA will take care of the process.
    After migration you will need to verify the migrated account has admin status. Also configure it for auto-login. Restart the computer. The computer should startup using the migrated account. You may then delete the initial account you made in the Setup Assistant.

  • How do I change my user name in syn? I typed in the wrong email address. And I cancelled syn thinking this may work but no luck.

    How do I change my user name in syn? I typed in the wrong email address. And I cancelled syn thinking this may work but no luck.

    You have to clear saved password for this page:
    # Open you login page (where you have to enter username and password).
    # Right click on page and select '''Page Info''' form context menu.
    # On last tab ('''Security''') there is '''View saved passwords''' button, click it and delete all saved passwords for this page.
    # Also clear all related cookies (just in case) there is button for this next to first one.

  • How to change your user name for the Ipod nano...

    Can anyone please explain how to change the user name on your Ipod nano?

    hiya!
    do you mean the nano's name in the ipod source list?
    if so, select the ipod in the itunes sourcelist. click on it once, and pause for a second or so. you should then be able to type in what you please.
    love, b

  • I can't access my itunes account because my aol account is not active, how do i change my user name using gmail?

    I can't access my itunes account because my aol account is not active, how do i change my user name using gmail?
    I need to change my itunes user name to [email protected] instead of [email protected] AOL account is not active anymore.
    Thanks

    Chill out guys. Clare, I suggest that you try this link below. It might be possible taht the email you are using is not what your Apple ID should be:
    How to Recover Your Apple ID
    http://support.apple.com/kb/HE34
    Recovering a forgotten iTunes Store account name
    http://support.apple.com/kb/HT1920

  • How can I change my user name on my iPhone 4S running )OS 8.1.1 so I can update my Apps

    How can I change my user name on my iPhone 4S running OS 8.1.1 so I can update my Apps?

    Hi jprohask63,
    Welcome to the Apple Support Communities!
    If you have applications that were originally downloaded from a different Apple ID, you would need to sign out of the current Apple ID and sign in to the Apple ID that was used originally to download the application. To complete this process please follow the instructions provided in the attached article. 
    iOS: Sign in with a different Apple ID in the iTunes Store, App Store, and iBooks Store - Apple Support
    Cheers,
    Joe 

  • I changed my user name on Yahoo, now all my folders are gone.  How to fix?

    I use ipad mail for 4 email accounts.  In Yahoo, I created personal folders with things I cannot afford to lose.  I changed mu user name & password with Yahoo, so now all those folders don't show up with new user name.  I contacted Yahoo, they said they were able to restore this data.  When I checked on ipad, nothing.  But my iMac showed all my mail accounts correctly, and under Yahoo, my folders were all there.  Now somehow, I've messed it up again.  Can't see those folders on iMac or ipad.  How can I fix this?  I'm not familiar with iMac as much as ipad.  Any step by step instructions would be so appreciated!

    Hello paiglang,
    Thanks for using Apple Support Communities.
    If your administrator password is not being recognized, then you can reset it by following the steps in the article linked to below.
    Reset the user password in OS X Lion, Mountain ... | Apple Support Communities
    Have a great weekend,
    Alex H.

  • How do I change my user name and password if I can't logon to the computer?

    how do I change my user name and password if I can't logon to the computer?

    What Mac is this with what version of OS X?

  • How to change my user name?

    I want to change the user name in "Users and Groups"
    I changed it so that in the upper right hand corner of the desktop it reflects the new name, but when I open the Users folder, it still has the old name.  I want to change the name of the main users folder.  However, I would rather not change my Apple ID (which is my old user name).

    More Like This ---------------->
    https://discussions.apple.com/message/12135072#12135072

  • How to change my user name in itunes connect?

    hey there! i am iOS app developer and i am looking to change my user name in itunes connect but after even changing it, it still showing me the previous name in app store. Can anyone help me in that? cheers!

    YYou go to settings and scroll down to iTunes and change the e-mail there.

  • How do I change the user name that appears next to the House icon on the Finder Window?

    I'm giving my old iMac to my father-in-law and would like to change the user name from mine to his.
    I've edited my Account info and changed it to his, but this does not seem to change the name in the finder window.
    Many thanks.
    mfc

    Create a new administrator account.
    (69291)

  • Change of user name

    Hi all,
    I just bought a Macbook pro. I was wondering if anyone knew how to change the user name of the computer. The one associated to the little house icon.
    I have been trying unsuccessfully to do it!
    A part that I'm really enjoying my new computer!
    thanks a lot!
    t

    If it is new and you haven't added anything to it, just create a new account with the name you want. Make it able to administer the computer and then log in to it. Delete the other one, or keep it for testing and troubleshooting.

  • HT4528 How do I reset my iCloud user name when my email used before is no longer active? Also my iCloud was never verified with my old email on my iPad is I am stuck.

    How do I reset my iCloud user name when my email used before is no longer active? Also my iCloud was never verified with my old email on my iPad is I am stuck.

    Hey Dorekelly,
    Thanks for the question. It sounds like you wish to change the email address associated with your Apple ID and iCloud account. The following resource should guide you through this process:
    Change your Apple ID
    http://support.apple.com/kb/HT5621
    Afterwards, be sure to read about updating the features and services that you use with Apple ID:
    Apple ID: What to do after you change your Apple ID
    http://support.apple.com/kb/HT5796
    Thanks,
    Matt M.

  • SMTP traffic blocked by ISP how do you handle it ?

    I have recently installed the OCFO 10.1.3.07. We were using POP account previously and i had 2 account created in outlook (one using my SMTP server as outgoing mail server and the 2nd using the user ISP SMTP server) to let users send emails from home by letting them select the account in outlook before sending their mail without having them to configure anything.
    I am now stuck here. I tried replicating the same kind of setup using OCFO and a secondary IMAP4 account but it doesnt work. The mail stays in the outbox. The only way to send from their homes is to run the configuration wizard and change the SMTP server adress.
    How do you handle this? am i taking the wrong approach here?
    Thanks for any inputs.

    For anyone who might be interested,
    I have submited a SR to oracle support and the workaround to this issue is to Create a 2nd mail profile and configure the OCFO with a different SMTP server within that profile.

Maybe you are looking for