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 |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
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.