Can I update the user ID of a user?

We've noticed that the OOB login component assumes that you log in using your  user ID and password. This is fine if you never update the user name, but in our organization the requirement is to let users update their username. How would we need to implement this? We see two solutions:
1) username is in fact user ID. When the user updates the username we need to somehow update that user's ID or delete the existing user ID and create a new one. We do not like this approach as it looks like a lot of reverse replication will need to be done.
2) username is NOT the user ID. In this case it would mean we need to update the OOB login components as that component takes the user ID as input, not the username. We would need to use javascript to find the userID based on the provided username before starting the authorization process. We will also need to make sure that username remains unique across all users.
Any opinions on what would be easiest to implement. We don't really like any of the options. Ideally I wish we could just update the userID of a user as that would mean we can use all of the OOB components for login and profile handling. But I've read that this is not possible.

Hello,
I would refer you to not play with username (userid/principal name) and because you have this requirement i will suggest to add one more property to user node (/home/users) say user_login_name which will have same value as username (rep:principalName) while first time registration.
Now you have to do small tweak in your login module, every time when user will login you would expect value for "user_login_name" and once user click on login button before submitting for authorization you have to query to repository system to get actual username (rep:principalName) from repository and then use actual username for login. It means "login_user_name" will be just for display but back side you will be running same logic by small code tweak.
Now about changes to login_user_name can be easily placed as everytime you will be allowing user to update "login_user_name" not "username" but you must have to take care of one thing that there will be no duplicate "login_user_name" in system. For that you can write a listener which will be fired at the time of form submit or may be you can also do through client side script validation (you have to some research for feasibility at client side - may be "ecma" script can help).
For even listener plz refer - http://blogs.adobe.com/contentmanagement/2012/08/27/how-to-prevent-users-from-entering-dup licate-vanity-urls/
http://sling.apache.org/site/eventing-and-jobs.html
For more information or any issue in listener let me know.
Thanks,
Pawan

Similar Messages

  • HT1349 I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???

    I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???

    Welcome to the Apple Community.
    Enter the details of her second account at system preferences> mail, contacts & calendars.

  • I have three iPhone 4 models purchased in late 2010 that all share the same iTunes account (apps, music, etc), but I can only update the software on one of the three iPhones. What is the best solution to manage these devices for software updates, apps?

    I have three iPhone 4 models purchased in late 2010 (for my family) that all share the same iTunes account for access to apps and music, but each phone/user still has his/her custom contact list, email accts, and select lists of apps and music from the one iTunes acct library.  The problem is I can only update the software on one of the three iPhones – the primary phone I used to setup the iTunes acct. What is the best solution to manage these devices for software updates, apps? This is probably a common problem with families wanting to share apps and music without realizing the issues created by this approach. As it stands today... the first (primary) iPhone associated with the iTune acct has been updated with the latest software version 5.1.1 and sync'd up with all the apps, music, etc from the one iTune acct, while the other two iPhones are still running on the original software version 4.0.2 and are experiencing problems now. I was advised by AT&T back in January that it would be necessary to setup separate iTunes accts for the second and third iPhones in order to receive system updates. The problem would be how to keep all the apps, etc from being deleted off the second and third phones that were originally loaded from the one iTunes acct. Since this AT&T advice was prior to iCloud coming out, would iCloud be a better solution or at least part of the solution? I really don't yet understand how iCloud works. Hopefully, someone out there can help me??  Please?

    I have three iPhone 4 models purchased in late 2010 (for my family) that all share the same iTunes account for access to apps and music, but each phone/user still has his/her custom contact list, email accts, and select lists of apps and music from the one iTunes acct library.  The problem is I can only update the software on one of the three iPhones – the primary phone I used to setup the iTunes acct. What is the best solution to manage these devices for software updates, apps? This is probably a common problem with families wanting to share apps and music without realizing the issues created by this approach. As it stands today... the first (primary) iPhone associated with the iTune acct has been updated with the latest software version 5.1.1 and sync'd up with all the apps, music, etc from the one iTune acct, while the other two iPhones are still running on the original software version 4.0.2 and are experiencing problems now. I was advised by AT&T back in January that it would be necessary to setup separate iTunes accts for the second and third iPhones in order to receive system updates. The problem would be how to keep all the apps, etc from being deleted off the second and third phones that were originally loaded from the one iTunes acct. Since this AT&T advice was prior to iCloud coming out, would iCloud be a better solution or at least part of the solution? I really don't yet understand how iCloud works. Hopefully, someone out there can help me??  Please?

  • Hi Apple, Can you update the iPod touch 4g and make it have Siri, the fans of Apple wants it :( including me please?

    Hi Apple, Can you update the iPod touch 4g and make it have Siri, the fans of Apple wants it :( including me please?

    You are not addressing Apple here. We are just users like yourself. To make a suggestion to Apple:
    Apple - iPod touch – Feedback
    Per the following the 4G iPod does not have the hardware to adequately support Siri.
    audience technology and siri - Google Search

  • Update the database table inside an user exit.

    Hi Experts,
    I have a issue where i have to update a custom table in an User exit.
    I am using Lock object for ENQUE/DEQUE.
    I have tried to use statements like UPDATE/MODIFY inside the user exit.
    But the problem is that it's not updating the database table at the same time.
    I know if i use COMMIT WORK it can update at the same time but it's not advisable to use COMMIT inside a work.and also it gives a short dump.
    The real issue is that this custom table is read for batch creation at the same time for different users.
    Now if it the program does not update the database table at the same time then other users also read the same data and create the same Batch number..
    While requirement is to create a different/unique batch numbers.
    Program is updating the table but it's taking time..so in between other users are creating the same batch number.
    Please guide me what would be the best solution for this.
    Regards,
    Amit Kumar Singh

    Thanks for your quick reply.
    My actually requirement is like that.
    I have to create a Process Order using tcode COR1.
    After passing some input value it goes inside an User Exit.
    There one Custom table is maintained which stores some fields like month,year,numeric key field,etc.
    The new batch number is created using the combination of these table fields.
    Once a new batch number is created it increment the numeric key field number by one.
    Issue is we have to update this new numeric field value into the database field so that other users can read a diffrent numeric field value.hence it will create a new/different batch number.
    Here i am not able to update the database table inside this User Exit.
    Table is geeting updated but after some time and out of this User Exit.
    Please suggest what's required in that case?
    Regards,
    Amit Kumar Singh
    Edited by: Amit  Singh on Feb 3, 2009 11:33 AM

  • Can't update the latest CC app (April 2015 - Photoshop CC2014 & BridgeCC)

    Hi,
    I use Macbook with latest OS updated.
    I can't update the latest app (April 2015 - Photoshop CC2014 & BridgeCC).
    Every time i've tried, the error occurred as you can see images attached.
    I've also tried uninstall and reinstall both apps, but same problem persists.
    It's few days since these updates show up, but until now I still can't update.
    Thanks.

    first, sign out and then back in to your cc app and retry updating, http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    if that fails, close your cc app and then reopen and retry updating.
    if that fails, restart your computer, sign out and then back in and update.
    if that fails,
    Remove the OPM.db file and relogin into the Creative Cloud desktop application using the Adobe ID tied to your subscription.
        Mac OS: You can locate the OPM.db file in the \User\<user name>\Library\Application Support\Adobe\OOBE folder. To access the hidden user Library folder, see Access hidden user library files | Mac OS 10.7 Lion.
        Windows: You can locate the OPM.db file in the \Users\<user name>\AppData\Local\Adobe\OOBE folder.  To view the hidden AppData folder, see Show hidden files, folders, filename extensions | Windows XP, Vista, Windows 7.

  • Can we update the data from SSRS report to any database ?

    Hi Team,
    Greetings !!!!
    Can we update the data from SSRS report to any database ?
    Thanks,
    Anand Gavle.

    Nope SSRS doesnt have write back options. Its just a reporting tool
    However one thing you can do is to link a webpage from SSRS report and do the changes through it
    SSRS has the ability to navigate to web page through which you can capture any data inputs from users and save it to your db.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Can't update the OS

    On my Mac, 10.6 is installed. And I can't update the OS, neither automatically (S.U.app) nor manually (Combo Update). S.U. does not find any updates, the 10.6.2 Combo Update cannot be used on this computer.
    Thus, I can't use Safari 4.0.3 that is necessary for using the iTunes Store...
    Thanks a lot for a good idea!
    Peter
    +Please don't tell me to re-install the whole OS or to buy a new Mac or...+

    Peter R. wrote:
    And the 10.6.2 combo update cannot be applied on this volume.
    Make sure that you have downloaded the correct version of the combo update. One is for the server version of the OS, an entirely different OS from the normal Snow Leopard one, & it is easy to confuse the two.
    Also, how much free space is on your startup volume? You need several GB free for scratch space just to do the update.
    Is there anything unusual about how you installed or reinstalled Snow Leopard? The normal install method only works if the partition scheme is GUID Partition Table (GPT), but some users get around that restriction by cloning a backup of their startup drive onto the normal one, often to run the OS from a drive partitioned with the Apple Partition Map scheme (APM).

  • My cursor will not move on my MacBook Air. I've forced a shutdown, but it still won't move, and now I can't move the cursor to click my user image to log in. What should I do?

    My cursor will not move on my MacBook Air. I've forced a shutdown, but it still won't move, and now I can't move the cursor to click my user image to log in. What should I do?

    Trackpad does not work properly

  • How can I update the thumbnails in the slide panel when a slide has been changed?

    When the text in a slide has been changed, how can you update the thumbnail in the slide panel to reflect this change?
    We translated slides, but the slides in the slide panel are still in English.
    Thanks for your help.

    the slides should update automatically as you type
    are you using a  theme you created yourself, or one you have added for this show?
    when you play the show, does the slides show correctly?  If they are OK you could still show the presentation.
    also what Mac are you using and what graphic crd is installed?

  • How can we update the last synchronization date and time..on SUP in sccm 2012 R2

    Hi,
        Can you any one please guide me how can i update the last  synchronization date & time in SUP on SCCM2012 r2 , some how its updated as future date and when ever i try to synch the SUP with disconnected WSUS its shows in the wsyncmgr.log 
    "Wakeup for a polling cycle " and  " Wakeupby inbox drop" and "Wakeup by SCF change"  
    Thanks 
    Balaji K

    You'll probably have to call CSS on this one as this not normal by any means. The messages you noted above are completely normal but if that's all you are seeing then there's an issue.
    Have you reviewed wcm.log and wsusctrl.log?
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • I can't update the apps in my ipad once I try it update it says this update not for this Apple ID . I need help plz

    I can't update the apps in my ipad once I try it update it says this update not for this Apple ID . I need help plz

    Help please any one ?

  • I can't update the purchases I made with the old Apple I.D. How can I sync my old Apple I.D. with new one?

    I can't update the purchases I made with the old Apple I.D;
    how can I sync my old Apple I.D. with new one?

    Only the Apple ID used to buy an app can update an app. Apple does not merge Apple IDs and Apple does not transfer content biught with one ID to another ID.

  • How can I update the firmware all at once

    I'm a tech support in a school, approximately our school has over 500 laptops, how can I update the firmware on all laptops at once?

    Apple Configurator is the software you want - and it's free from Apple. However, I'm dubious that firmware can be updated all at once.
    http://help.apple.com/configurator/mac/1.4.1/

  • Hi all, i'm new and facing a problem while creating a new file for Xcode. I can't select the box "with XIB for user interface" if the subclass is "UIViewController".this problem happen after i upgrade Xcode to 4.6 version.Appreciate for any help rendered.

    Hi all, i'm new to Mac book & Xcode. I'm learning and facing problems while creating a new file for Xcode. Before i upgrade the software, i have no issue to create simple steps in apps. After upgrade Xcode to 4.6 version, i'm facing lot's of issue eg.
    1) "the identity "iphone developer" doesn't match any valid certificate/ private key pair",
    2) can't select the box "with XIB for user interface" if the subclass is "UIViewController"..
    Appreciate for any help rendered.

    Mikko777 wrote:So what is the best?
    I wouldn't judge. I've been to Arch for a week, you know? But as said, it's VERY close to it.
    What I dislike after a week is makepkg not handling dependencies automatically (which would be overhead, so probably not appropriate).
    Mikko777 wrote:Also theres KDEmod for modular kde, dunno if its for 64 bits tho.
    Don't actually need that as said ... I see no real benefit of having that other than not beeing a KDE user or having Gentoos useflags.
    Mikko777 wrote:PS:You produce a lot of text and welcome smile
    Yeah. Wonder why I'm still employed? So do I ...

  • HT4623 Can you update the ipod touch 2nd generation

    Can u update the ipod touch 2nd generation,Or do u have to buy a new ipod touch...

    iOS 4: Updating your device to iOS 5 or later
    Here are the last OS versions for each iPod generation:
    An original iPod Touch can run iPhone OS 3.1.3
    2G model: maximum iOS 4.2.1
    3G model: maximum iOS 5.1.1
    4G, 5G can run iOS 6.
    Message was edited by: John Galt

Maybe you are looking for