Skip to main content
darkknight
Expert ⭐️
March 2, 2020
New Idea

Need ability to delete users from User Management

Related products:CS Authentication & User Management
  • March 2, 2020
  • 51 replies
  • 1489 views

I’ve been running into issues where we have users in my environment that have duplicate Usernames but different SFDC User IDs, however when I compare them to their Salesforce counterparts the usernames are different.  I have to assume this is due to some upstream issue - changes made in SF that are out of my control and/or occurred before I came here - but this causes issues for me because the Salesforce Connector user job won’t allow me to use the SFDC UD as an upsert key, so I end up with partial failures related to the duplicate usernames (my upsert key).

When I run into these types of situations my only recourse is contact Gainsight support to delete the user for me.  I need more control over my user table with the ability to delete users.

    51 replies

    Contributor ⭐️⭐️⭐️⭐️
    March 3, 2020

     

    Hi @darkknight  User deletion is not supported for now , will making user inactive work for you ? 

    darkknight
    Expert ⭐️
    March 3, 2020

    No… because the username is identical, and that is my upsert key.

    Jeff Kirkpatrick
    Contributor ⭐️⭐️⭐️⭐️
    March 4, 2020

    @darkknight Can you  please let us know the details of problematic  users or is it possible to share the error file?

    darkknight
    Expert ⭐️
    March 4, 2020

    What sort of details?  Basically I have two users with different SFDC IDs who have the same SFDC Username.  Because the SF Connector User job uses SFDC Username as the upsert key it’s getting confused and saying there are multiple users that match the criteria.

     

     

    Jeff Kirkpatrick
    Contributor ⭐️⭐️⭐️⭐️
    March 5, 2020

    @darkknight If these numbers are not big, is changing username in user mgmt page(we can edit the username in GS System)  and retrying helps?   

    sai_ram
    Expert ⭐️⭐️
    March 23, 2020

    @darkknight did you get a chance to view comments from @uday 

    darkknight
    Expert ⭐️
    March 23, 2020

    I currently have 90 users that fit this.  But for some reason it keeps happening - we end up with duplicate records that have the same user name.  And I have no idea why.  

     

     

    Jeff Kirkpatrick
    Contributor ⭐️⭐️⭐️⭐️
    March 30, 2020

    @darkknight  Could you please share the details of those users, we will see how we can get these fixed for you.

    darkknight
    Expert ⭐️
    March 30, 2020

    @uday I would love to - although Support told me this:  “The reason we cannot delete users is that we have several dependencies( in the UI and on the backend) created when a User is created and deleting a User would involve trying to clean them out from everywhere which sometimes gets messy. I agree with duplicates are bad and for that reason, we ask customers to be careful while ingesting data to standard objects, not include duplicates as deleting them brings in more complications.”

     

    Is that accurate?  Seems to me it should be fairly simple to delete duplicate users.

    Jeff Kirkpatrick
    Contributor ⭐️⭐️⭐️⭐️
    March 31, 2020

    @darkknight  Yes thats correct, deleting user may have more dependencies and evaluating dependencies at every user is not an easies way.