Methods / Common Methods |
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.
Name | Type | Description |
---|---|---|
userName | string | A string that contains the user name for the user. This member must be a registered AgilePoint user. |
appName | string | A string that contains the name of the application. The name is case-sensitive. |
locale | string | A string that contains the client locale in the format en-US. |
public IWFWorkflowService GetWorkflowService(System.Net.ICredentials credentials, string surrogateUsername, string appName, string locale) { IWFWorkflowService svc = GetWorkflowService(credentials); svc.Surrogate(surrogateUsername, surrogate appName, surrogate locale); return svc; } public IWFAdminService GetWorkflowService(System.Net.ICredentials credentials) { //The body is the same as Surrogate }