Function createPrincipalIdRecipient

  • A utility function to create a recipient object (based on a user ID or group ID) used in sendMessage. Note: only server side validation or transformation scripts can specify a user or group ID.

    Parameters

    • type: RecipientType

      Determines where the recipient email address will appear in the message.

    • principalId: number

      The user or group id of the recipient.

    Returns IPrincipalRecipient

Generated using TypeDoc