SetUserCredential(UserCredential) Method

Definition

Assembly CliInvoke.dll

Configures the process to use a user credential.

[SupportedOSPlatform("windows")]
[UnsupportedOSPlatform("macos")]
[UnsupportedOSPlatform("linux")]
[UnsupportedOSPlatform("freebsd")]
[UnsupportedOSPlatform("android")]
public IProcessConfigurationBuilder SetUserCredential(UserCredential credential)

Parameters

credential
UserCredential

The user credential to be used for authentication.

Returns

IProcessConfigurationBuilder
A reference to this builder with an updated user credential, allowing method chaining.