Get Cora SeQuence Credentials from the Credential Store Using the API

Use this code sample to get credentials from the Cora SeQuence credential store. The code runs from within a custom assembly or custom activity.

IWorkflowEngine engine =ActivityExecutionContext.Current.WorkflowInstance.Engine;
           IServiceProvider svc = engine.GetService<IServiceProvider>();
            PNMsoft.Sequence.Security.CredentialDefinition c;
            c= PNMsoft.Sequence.Security.CredentialDefinition.GetCredential(svc,"name");
About this Article
  • Created: 07/09/2017 5:02 am EDT
  • Last updated: 01/16/2018 7:13 am EST
In This Article