X500DistinguishedNameBuilder.AddOrganizationalUnitName(String) Method

Definition

Adds an organizational unit name attribute.

public void AddOrganizationalUnitName (string organizationalUnitName);

Parameters

organizationalUnitName
String

The organizational unit name to add.

Exceptions

organizationalUnitName is null.

organizationalUnitName is empty.

Remarks

This encodes an attribute with the OID 2.5.4.11 as a UTF8String.

Applies to

Produto Versões
.NET 7, 8, 9