X500DistinguishedNameBuilder.AddOrganizationalUnitName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.