Tries to start an impersonation process.
Namespace: Spotfire.Dxp.Framework.ApplicationModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 66.0.19621.1485 (66.0.19621.1485)
Syntax
C#
public static Subprocess StartImpersonationSubprocess( string fileName, string args, out string errorText )
Parameters
- fileName
- Type: SystemString
The path to the program to start. - args
- Type: SystemString
The arguments string to send to the subprocess. - errorText
- Type: SystemString
If no process can be started a non empty string with an error message will be returned.
Return Value
Type: SubprocessA Subprocess object with a started process; otherwise null.
Version Information
Supported in: 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also