Open this page in the API Guide

DeliverySettings.AddRecipient Method (Guid, Boolean, IList<RecipientViewOverride>)

Adds the recipient.

Namespace:  Dundas.BI.Notifications.Delivery
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public void AddRecipient(
	Guid recipientId,
	bool isUnsubscribeAllowed,
	IList<RecipientViewOverride>? contentOverrides
)

Parameters

recipientId
Type: System.Guid
The account or group ID.
isUnsubscribeAllowed
Type: System.Boolean
If set to true, the recipient is allowed to unsubscribe.
contentOverrides
Type: System.Collections.Generic.IList<RecipientViewOverride>
A list of overrides to be applied for this recipient when generating exports.
Exceptions
ExceptionCondition
ArgumentExceptionrecipientId is Empty.
InvalidContentOverrideExceptionOccurs when the user tries to add a mail recipient with content overrides and the view ID provided is not one of the views being exported.
See Also