Show / Hide Table of Contents

AllowCredential Method

AllowCredential(CredentialId)

Add an entry to the allow list. Once a credential is added to the allow list, it is not possible to remove it.

C#
public void AllowCredential(CredentialId credentialId)

Parameters

Type Name Description
CredentialId credentialId

The credentialId to add.

Exceptions

Type Condition
ArgumentNullException

The credentialId arg is null.

Remarks

If there is no list yet when this method is called, one will be created. That is, even if the AllowList is null, you can call the method to add an entry.

In this article
Back to top Generated by DocFX