AddUserId Method
Adds the specified user Id to the current key.
Syntax
[VB.NET] Public Sub AddUserId(ByVal UserId As String)
[C#] public void AddUserId(string userId);
Remarks
The key's passphrase is required for this operation and may be specified via Passphrase or through the KeyPassphrase event.
The UserId format is:
FirstName LastName (Comment) <Email>Not all values are required when selecting or generating a key, but at least FirstName or Email are required. NOTE: This method has a corresponding asynchronous version (AddUserIdAsync) for use in the Xamarin environment.