Interface Email View Policy

System Application, System.Email

Source AL, 71 lines

src/System Application/App/Email/src/Email/View Policy/EmailViewPolicy.Interface.allines 12 to 27 of 71, Copyright (c) Microsoft Corporation. MIT

interface "Email View Policy"{    /// <summary>    /// Get sent emails that policy allow.    /// </summary>    /// <param name="SentEmails">The record to contain the sent emails.</param>    procedure GetSentEmails(var SentEmails: Record "Sent Email" temporary);    /// <summary>    /// Get outbox email that policy allow.    /// </summary>    /// <param name="OutboxEmails">The record to contain the outbox emails.</param>    procedure GetOutboxEmails(var OutboxEmails: Record "Email Outbox" temporary);    /// <summary>    /// Get sent emails that policy allow for a given entity.

All 71 lines

Public procedures 8 in 29

GetSentEmails(var SentEmails: Record "Sent Email" temporary)new in 20
GetOutboxEmails(var OutboxEmails: Record "Email Outbox" temporary)new in 20
GetSentEmails(SourceTableId: Integer; var SentEmails: Record "Sent Email" temporary)new in 20
GetOutboxEmails(SourceTableId: Integer; var OutboxEmails: Record "Email Outbox" temporary)new in 20
GetSentEmails(SourceTableId: Integer; SourceSystemId: Guid; var SentEmails: Record "Sent Email" temporary)new in 20
GetOutboxEmails(SourceTableId: Integer; SourceSystemId: Guid; var OutboxEmails: Record "Email Outbox" temporary)new in 20

All 8 procedures

Implemented by 5

codeunit 8931 "View Only Own Emails Policy"System Applicationnew in 20
codeunit 8932 "View All Emails Policy"System Applicationnew in 20
codeunit 8933 "View If All Related Records"System Applicationnew in 20
codeunit 8934 "View If Any Related Records"System Applicationnew in 20
enum 8930 "Email View Policy"System Applicationnew in 20