Get Sequence Credentials from the Credential Store Using the API

Use this code sample to get credentials from the 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: 07/09/2017 5:05 am EDT
In This Article