Madeva

Getting original signer id from newly changed signer id.

0 votes
Hi, How do I get original signer id from new changed signer information (either using signer id or role Id) ? suppose Signer A will delegate his authority to Signer B, I want Signer A (original) Id by using Signer B (newly changed signer) Id or role Id. Please help me to get the original signer Id!

Reply to: Getting original signer id from newly changed signer id.

0 votes
Hi Madeva, The best way to know who (Signer A) has delegated his/her authority to Signer B is through the Audit Service (guide here). By looping through the response, you'll find a recorded event with the type of "Change Signer", user-email of the Signer A's email, data contains "Reassigned to: {Signer B Email}"
    {
      "type": "Change Signer",
      "date-time": "2019-11-19 10:46:19",
      "target": "test change signer",
      "target-type": "Package",
      "user": "signer1FName signer1LName",
      "user-email": "[email protected]",
      "user-ip": "1xx.2xx.7.86",
      "data": "Reassigned to: [email protected](signer2FName signer2LName)"
    }
Directly from Package JSON/Object itself, there's no useful information identifying who has passed the authority to Signer B. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Getting original signer id from newly changed signer id.

0 votes
Hi Madeva, You need an extra SDK function to get this bit of information, try below code:
List auditList = eslClient.getAuditService().getAudit(packageId);
Iterator iter = auditList.iterator();
while(iter.hasNext())
{
     Audit myaudit = iter.next();
     System.out.println("DateTime - " + myaudit.getDateTime() + ", Type - " + myaudit.getType() + ", User - " +     myaudit.getUser() + ", Email - " + myaudit.getEmail() + ", IP - " + myaudit.getIp() + ", Target - " + myaudit.getTarget() + ", Data - " + myaudit.getData());
}
Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off