Methods / Common Methods |
Web Services
This function is similar to Surrogate, with the ability to set the application name and locale at the same time.Calling the functions SetClientAppName and SetClientLocale is not needed if this function is called.
public virtual void Surrogate(string userName, string AppName, string Locale)
Name | Description |
---|---|
userName |
|
AppName |
|
Locale |
|
None.
public IWFWorkflowService GetWorkflowService(System.Net.ICredentials credentials, string userName, string AppName, string Locale) { IWFWorkflowService svc = GetWorkflowService(credentials); svc.Surrogate(userName, surrogate AppName, surrogate Locale); return svc; } public IWFAdminService GetWorkflowService(System.Net.ICredentials credentials) { //The body is the same as Surrogate }
3.2.0.4 and higher