Edit

Share via


SubjectAlternativeNameBuilder.AddUserPrincipalName(String) Method

Definition

Adds a User Principal Name (UPN) to the subject alternative name extension.

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

Parameters

upn
String

The UPN to be added.

Exceptions

upn is either null or Empty.

Applies to