Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save IntuitDeveloperRelations/6156913 to your computer and use it in GitHub Desktop.
Save IntuitDeveloperRelations/6156913 to your computer and use it in GitHub Desktop.
IPP CAD .NET SDK / UpdateInstitutionLogin passing empty credentials for refresh
int institutionLoginId = 3333; //Returned from DiscoverAndAddAccounts call
InstitutionLogin institutionLogin = new InstitutionLogin(); //Instantiate the object but do not specify credentials
Challenges challenges = new Challenges();
AggregationCategorizationService aggCategorizationService = Services.CADService.GetService(Cache, HttpContext.Current.User.Identity.Name);
aggCategorizationService.UpdateInstitutionLogin(institutionLoginId, institutionLogin, true, out challenges);
@bromanko
Copy link

Thank you for creating this gist. I wish the documentation was clearer that the credentials are optional for an update call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment