When Matching Users Via Email, Changing Email Address Does Not Change Login

Well, the subject pretty much says it all, but here're some examples of what's going on:
Initial Data
- Create 2 Business Partners in SAP, C1 and C2.
- Create 2 Contact Employees in SAP, Adam with email adam at eden.org in C1 and Eve with no email in C2.
Synch
- Run Initial Synch followed by Standard Synch (for good measure).
- Web Tools gets user Adam with username adam at eden.org.
- Web Tools gets user Eve with username 2, the unique key for SAP's Contact Employee.
Data Change In SAP
- Adam's email is removed.
- Eve's email is populated with eve at eden.org.
Resynch
- Run Standard Synch.
- Web Tools changes both email addresses, with Adam's being erased and Eve's becoming eve at eden.org.
- Web Tools does not change the UserID, leaving Adam's as adam at eden.org and Eve's as 2.
That last bullet is the big problem: if a user changes an email address, the username doesn't change. Is there any way to change this across the board, or perhaps even force users to login via their current email address?

Also, there is a field in the Users table called EmailLogin. I have tried without success to change this field so that the user would use this field to login instead of the UserID, but have been unsuccessful in getting it to work.
As an alternative, the login control in /plugins/loginblock.ascx contains, as a portion, the following code:
    protected void loginMain_LoggedIn(object sender, EventArgs e) {
        NPUser user = new NPUser(loginMain.UserName);
        ((NPBasePage)Page).Login(user.UserID, user.AccountID, false);
Wouldn't it be simple to do the following?
    protected void GetUserIDFromDBByEmail(string email) {
        string userid;
        System.Data.SqlClient.SqlConnection conn = new System.Data.SqlClient.SqlConnection();
        System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand(conn, "SELECT Users.UserID FROM Users WHERE Users.Email='" + email.Replace("'", "''") + "'");
        userid = (string)cmd.ExecuteScalar();
        cmd.Connection.Close();
        conn.Close();
    protected void loginMain_LoggedIn(object sender, EventArgs e) {
        string userid;
        // Though we're passing the "username" from the form,
        // we know that we're expecting the email to be in it
        userid = GetUserIDFromDBByEmail(loginMain.UserName);
        NPUser user = new NPUser(userid);
        ((NPBasePage)Page).Login(user.UserID, user.AccountID, false);
Again, the benefit to this is that you can synch using the Internal B1 Contact Code, which will remain constant and unique, and have the availability to change the way the user logs in by modifying the email address. Of course, email addresses would have to remain unique as well, but that's an easy enough thing to check for.

Similar Messages

  • I am in Muse 2014.3. When I edit a page, in the preview everything looks fine, but when I upload it to FTP, the page does not change, even when I upload the whole site. Is this a bug? I don't know what to do.

    I am in Muse 2014.3. When I edit a page, in the preview everything looks fine, but when I upload it to FTP, the page does not change, even when I upload the whole site. Is this a bug? I don't know what to do.

    Hi Jaap,
    Are you sure about your FTP credentials (FTP folder and site URL) that you are using for the upload? Are you able to see the updated files in the remote directory of the FTP server, after you finish uploading the muse file, using an external FTP client like FileZilla?
    Thanks
    -Prashanth

  • When I click on a link the address does not display in the location bar in the new tab. Which makes the back/forward button and refresh buttons unable to be used

    When opening a link any link from firefox address does not display in the location bar. Even when navigating forward from there the address does not show back/forward button and refresh all rendered unable to be used

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Changing cell padding does not change margin

    The text in the cell of an existing table is clearly indented from the cell border.   However, the cell padding is set to 0.  When I change the cell padding to 10, 50, or any other number, the text margin does not change.
    I am trying to create another table.  The text in the new table is flush left.  Whatever I set the cell padding to, the text margin does not change.
    The documentation indicates that the only way to change the cell margins is to change cell padding.  Obviously that does not work.  How do I change the cell padding?
    Thank you.
    Cathy

    Can you please anwser couple of queries to nail down the issue?
    1) Please let us know the Contribute Version and OS you are using.
    2) Is this happening with a particular page?
    3) Can you try creating a new blank page, insert a table and modify the Cell Padding value.Check whether it is getting reflected and also verify the cell padding parameter is added in the code.
    4) Previously if it worked and broken suddently, please try clearing the Contribute preference. Refer to the blog post, blogs.adobe.com/contribute/2011/11/launch-contribute-freshly-by-deleting-preferences.html

  • Using Verizon Email, Form Fill is not working when I respond to a sender, their address does not come up nor does the address search work. VZ says it has to do with Form Fill being turned off ???

    Running Windows 2000 and Firefox 3.6 Email does not do search in address field when replying to a sender. Have to manually type each address...

    To answer the post title FireFox save all downloads automatically in the download folder, which you can find in the Documents folder. If you want to choose where to save your downloads go to tools>options>check always ask me where to save files.
    Secondly, I am assuming you have IE 8 installed as this is the only version that supports this fix that is currently not in beta. Go to control panel>internet options>advanced tab and reset the settings at the bottom. This may or may not fix the problem but it is a good first step.

  • Changing Paper size does not change page break?

    I am using Oracle Report R6i.
    I have created a matrix report showing months horizontally and items vertically. By default, the report displays a vertical line (Page Break Line) at 8 inches (as shown in Ruler).
    I change the paper size in Page Setup Menu but still the page break line displaying at 8 inches due to which only 03 months are displaying per page at Landscape mode. My page size is : 210x230 cm.
    How can I extend that page break line so that atleast 6 months to be displayed per page.
    Regards,
    Luqman

    Changing the size used by the printer with the page setup dialog does not affect how Reports formats the output. You need to change Reports page size for this.
    In 6i, the page size for Reports is controlled by properties against the Section objects (header, main, trailer) in the navigator.
    In 2.5 you would set the vertical and horizontal page size in the Reports property palette for all sections. With the introduction of individual sections in 6i, each section can have it's own page size.
    In your example you probably want to change the page size against the "main section" to 13" x 8.26" to get the report to format in Landscape. Also remember to set the ORIENTATION parameter or property to "Landscape" so that the printer is set to Landscape as well.

  • Changing Datasource Location Does not Change Procedure Name

    <p>Is there a way to change the name of the stored procedure in the field explorer after changing the datasource location? I&#39;ve changed stored procedures in my report but it keeps the old name.</p><p> Crystal Reports 11 v2</p>

    -Database/Database Expert
    -Highlight SP on right hand database tree
    newSP
    ...this renames sp prefix across all<br /> formula and output fields in report<br />It&#39;s really an alias: it does not physically <br />change the SP name.

  • When i edit an image in aperature it does not change in idvd like it used to?

    i made several DVDs with iDVD its a great program. Always using aperature for my pictures and videos. When i edited a picture in some way like "crop" in aperature it used to change automatically in iDVD. It no longer does and all images are the "master" versions in the iDVD projects unless i manually change them. Why is this? Thank you

    It is possible that Aperture is saving the edits in its database and there's no hard copy of the photo available for iDVD to refresh to?  Just ran a test with a photo on the Desktop that I added to iDVD.  After editing it with PS and saving to replace the original on the Desktop iDVD reflected the change. 
    I then repeated the same test but on a photo in iPhoto and it's edited version would not refresh in iDVD.  I had to go back to the Media Brower to get the edited version and use it.  It would not refresh automaticallly if edited in iPhoto.  Aperture and iPHoto share the same library so I imaging it's the same with Aperture.
    OT

  • I  am using the G Drive Slim to back up my files, but I don't know how to tell if or when it is finished.  The white light does not change, flicker, go out, etc.  When is it finished?

    The whole story:  The hard drive on my quite new Mac Book Pro, bought in December of 2011, crashed and burned in the Fall of 2012.  I purchased a new hard drive  and was informed that the only way I could have saved my "stuff" was to back it up with an external hard drive.  Who knew?? I bought a G Drive Slim at the Apple store, and on their advice.  BUT I  really don't understand how to use it, and the instructions are completely inadequate.  How can you tell when it is finished?  I have educated myself on the proper way to eject the Drive, but I don't know how to tell if it is done.  Or, frankly, if it is even doing anything.  The white light burns steadily, no blinking, no flickering.  Nothing.  Thanks for  help. 

    are you backing up files, or doing a Time machine backup, either way, the Time machine will STOP when finished and show "last backup at XXXXXX"  meaning its done...... OR if when transferring files, it will show a progress bar on your desktop and vanish when files are copied.
    Open up the Hitachi drive (your G drive is made by Hitachi, and the best made by the way).....and see if the files are there.
    a MORE VISUAL way is to open the hard drive file, and drag and drop files INTO the Gdrive and you can see them visually be copied there as you do it.
    To see your HD on your desktop GOTO  FINDER......PREFERENCES....then GENERAL TAB.........check the box marked HARD DRIVES.........then your Gdrive will appear on your desktop........open it from there,  and DRAG and drop files from anywhere INTO the Gdrive....... easy visual way to see the files being copied into the Gdrive.

  • When I edit album info in itunes it does not change on iphone

    Any ideas on the above? Im using itunes 10.5 and have iphone 4 upgraded to ios5.
    This has only started happening since upgrade to ios5?

    I have always managed my music manually, just tried the way you do it, cleaned up my libary synced with my phone and all is OK. Made edits and resynced all OK.
    Will manage all my music via the libary which I suppose is the best way to do it anyway.
    Thanks alot for your help.
    Ash

  • Changing Apple ID does not change in all Apps

    I recently (within the last year) changed my ISP and switched my email account.  The old email was registered to my Apple ID and when I switched, I also changed the email to be my new Apple ID using "manage my apple id" online.  This means that the Apple ID should be the same account, just a different name.  There seemed to be no problems with this change on my iPhone and iTunes, but on my Macbook several applications are still looking for my old email for the Apple ID.  These include iCloud and Messages.
    I changed the Apple ID on my user in Users & Groups in System Preferences using the Change... option.  I only have one user on the system and it is the Admin account.  I can't find a way to change this in iCloud however.  Messages isn't much of a problem, but more of an inconvenience.  Every time I log in to my user account, the Messages dialog pops up asking me to sign in with the password to my Apple ID and displays the old one.  I just cancel out of this.  In the Messages application however, I have removed the old account and added the new one and I am able to send and receive messages using it.
    Why are these apps still asking me for my old Apple ID when my Admin Apple ID is my new one?

    Hi,
    iCloud and the iMessages servers are effectively independent of the others.
    You can in fact use different IDs for iTunes, iCloud and iMessages.
    Start with System Preferences > iCloud.
    There is no setting in here for enabling Messages (i.e. it has no links with any form account there).
    Use the Sign Out button to disable the current Apple ID and then add the new one.
    Do the same in Messages > Preferences > Accounts for the iMessages account.
    As you have Mountain Lion use the Details Button then the Sign Out one in the next pane.
    I have two of my several Apple IDs listed in th Users and Groups pane but it also is deactivated as regard to changing password resets.
    You can alos use an Apple issued email ID as A Valid AIM screen name in Messages (Add under AIM/AOL depending on version)
    This means @mac.com and iCloud issued @me.com and @icloud.com can be used as AIM Screen Names.
    This may mean you can have it as the iMessages ID and as a Screen name.
    9:12 pm      Wednesday; March 5, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • GINA does not change ESSOPR Client in Windows XP

    Hello friends, I am evaluating the ESSO version 11.1.1.5 and when I install the Client ESSOPR the workstation does not change the GINA to make use of this functionality.
    I can help, please

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • I've a new account on iMac.  When composing an email the contact list does not show up on the bar.  WWhen I start keying in a name, it comes up with the address.  How do I engage the  contact list from the email?

    I've a new account on iMac.  When composing an email the contact list does not show up on the bar, which would allow me to select the persons I want to include on the distribution of the email.  When I start keying in a name in the email, it comes up with the person's address, which shows it is synced.  How do I engage the contact list from the email like I do on my old account (where a contact list icon shows up, along with the "attach" and other icons) ?

    With the New Message window open, go to the View menu and select "Customize Toolbar...".
    In the screen that opens, drag the item labelled "Address" into the Toolbar area of the New Message window, then click the "Done" button.
    That item should be then added to the Toolbar for the New Message window.
    Note that the main Mail window and the New Message window (as well as the separate message window if you open a message that way) use different toolbars - the settings/inclusions for one do not carry over to another.

  • JAN 4, 2012  As of the  Upgrade to   Lion,. and the  Email portion, ..   DOES NOT  allow a Video Clip to be sent via the Email  as the I-Photo is not supported by Video Clips  ( Previous Leopard  No problem  clip and drag  via Quick Time Pro to the email

    JAN 4, 2012 
    As of the  Upgrade to   Lion,.   2007  I-Mac  -   the  Email portion, ..   DOES NOT    allow a Video Clips to be sent via the Email 
    as the I-Photo is not supported by Video Clips  ( Previous Leopard ) 
    No problem  clip and drag  via Quick Time Pro to the email  and select the  Attchment  size to send. .  Depending on the 
    Size of the Video Clip  ..      Now  Lion only  Export's   1 size, .   only  and as a result . . teh  File is  TOO  Large and
    Will NOT  send via  E-Mail    ??? 
    Between the   Issue of   the   Lion,  and  Email  issues ,   and  the   Upgrade  of   I-Touch  to  5.1  from  4.2.1 
    as my  Photo  Size is  Huge ..    70,000  +  photos in the  Computer. .   and was   40,000  in the   I - Touch  .. .  
    The  New I-Touch  too will not Load the  same  as Previously  used  on  either  my  16 GB   or  32 GB   Unit . . 
              No Help . ..   so far, ..  as a Apple user   since   1996 ..    I  have Never  experieanced such  frustration    ??? 
                   (  any one have some help  if similar  experiances    ?     thank you     )

    JAN 4, 2012 
    As of the  Upgrade to   Lion,.   2007  I-Mac  -   the  Email portion, ..   DOES NOT    allow a Video Clips to be sent via the Email 
    as the I-Photo is not supported by Video Clips  ( Previous Leopard ) 
    No problem  clip and drag  via Quick Time Pro to the email  and select the  Attchment  size to send. .  Depending on the 
    Size of the Video Clip  ..      Now  Lion only  Export's   1 size, .   only  and as a result . . teh  File is  TOO  Large and
    Will NOT  send via  E-Mail    ??? 
    Between the   Issue of   the   Lion,  and  Email  issues ,   and  the   Upgrade  of   I-Touch  to  5.1  from  4.2.1 
    as my  Photo  Size is  Huge ..    70,000  +  photos in the  Computer. .   and was   40,000  in the   I - Touch  .. .  
    The  New I-Touch  too will not Load the  same  as Previously  used  on  either  my  16 GB   or  32 GB   Unit . . 
              No Help . ..   so far, ..  as a Apple user   since   1996 ..    I  have Never  experieanced such  frustration    ??? 
                   (  any one have some help  if similar  experiances    ?     thank you     )

  • I can not longer send email from my .me email. in outlook 2010 on my PC. I can still recieve emails fine. I have not changed my settings at all. I have however tried all the settings i can find on the support pages. PLEASE HELP

    I can still receive icloud ( ME email address) emails fine. I have not changed my settings at all. I have however tried all the settings I can find on the support pages. PLEASE HELP. Nothing has changed. This suddenly just started happening around a month ago. To frustrate me apple does not seem to have a support email or any method to contact them with this issue to do with their email product. I have spent ages going through the apple support sites and I keep getting asked for an apple product to mark it against. I have no apple product as I am using a PC but I am accessing and using their email product. Is there even a phone number I can call? Surely there is a support area for their Email server issues. Can anyone help? It is driving me mad and causing me major issues. My outlook is Outlook 2010 on a windows 8 PC. As I have said it worked fine then one day decided to stop sending emails.
    Thanks for your help.

    Hi - this problem is discussed here:
    https://discussions.apple.com/thread/5375046?start=0&tstart=0

Maybe you are looking for

  • BP BALANCE

    Hi All, I am facing the following problem. I have done one A/P Invoice for excisable goods. After that I have done the A/P Credit memo. But my BP account balance is not updating. If I drill down  to the account satatement for that BP it is showing th

  • JSP Documents (JSP pages in XML format) and Namespaces

    I have 1 set of XSLT stylesheets that takes XML and outputs JSP documents. This 1 set of XSLT supports numerous clients (customers). I have a new customer that uses a new namespace, let's call it "xyz". This namespace is the TLD for xyz custom tags.

  • Tuning Query

    Can you please help me in tuning the below query to bring down LIO ratio. I triedto use hints but no luck. Query: It should display the delivery details based on parameters trip, delivery and warehouse. version of the database is 10.1.0.4 Below is th

  • Debit Note list

    Hi Guys, I need a report or a list of Debit Note's which i m not getting....can anyone please help me with the transaction code and the path for the same. Regards, Shivaji

  • Very urgent - bdc

    How to transfer the error records from internal table to the excel file in the BDC - Call Transaction method? Thanks in advance