3 Replies · Latest reply on Nov 8, 2017 2:59 PM by Shishir Srivastava

    LDAP Field Map to Skip Email

      I have an LDAP connection to the sys_user table pulling records from LDAP to the SNow User table.


      My goal is that, if sys_user.u_status field is Expired, then the email mapping has a source script that will not allow the email address to be updated.  Unfortunately, I'm not sure how to script this out.  Any help is appreciated.



      This is what I have so far:


      var gr = new GlideRecord('sys_user');