Instantiates user credential with the specified values.
public UserCredential(string? domain, string? username, SecureString? password, bool? loadUserProfile)
The domain to be used.
The username to be used.
The password to be used.
Whether to load the user profile during Process creation.