DeliverySettingsAddRecipient Method (Guid, RecipientMemberKind, Boolean, IListRecipientViewOverride)

Adds the recipient.

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

Parameters

recipientId
Type: SystemGuid
The account or group ID.
recipientKind
Type: Dundas.BI.Notifications.DeliveryRecipientMemberKind
The recipient kind.
isUnsubscribeAllowed
Type: SystemBoolean
If set to , the recipient is allowed to unsubscribe.
contentOverrides
Type: System.Collections.GenericIListRecipientViewOverride
A list of overrides to be applied for this recipient when generating exports.
Exceptions
ExceptionCondition
ArgumentExceptionrecipientId is Empty.
ArgumentOutOfRangeExceptionrecipientKind is not a defined member of RecipientMemberKind.
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