X500DistinguishedNameBuilder.AddOrganizationalUnitName(String) Method

Definition

Adds an organizational unit name attribute.

public:
 void AddOrganizationalUnitName(System::String ^ organizationalUnitName);
public void AddOrganizationalUnitName (string organizationalUnitName);
member this.AddOrganizationalUnitName : string -> unit
Public Sub AddOrganizationalUnitName (organizationalUnitName As String)

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