Credential Property

Definition

Assembly CliInvoke.Core.dll

Gets the user credentials associated with the process. Represents an optional UserCredential instance that provides information for domain, username, password, and user profile loading. This is primarily used for scenarios where processes require specific user authentication.

public UserCredential? Credential { get; }

Returns

Remarks

The credential is the shared, caller-owned reference from the originating ProcessConfiguration; this type never disposes it. Disposal of the credential remains the caller's responsibility.