Codeunit 8931 View Only Own Emails Policy
Source AL, 84 lines
src/System Application/App/Email/src/Email/View Policy/Policies/ViewOnlyOwnEmailsPolicy.Codeunit.allines 12 to 27 of 84, Copyright (c) Microsoft Corporation. MIT
codeunit 8931 "View Only Own Emails Policy" implements "Email View Policy"{ Access = Internal; InherentPermissions = X; InherentEntitlements = X; Permissions = tabledata "Sent Email" = r, tabledata "Email Outbox" = r; procedure GetSentEmails(var SentEmails: Record "Sent Email" temporary) var EmailViewPolicy: Codeunit "Email View Policy"; begin SentEmails.SetRange("User Security Id", UserSecurityId()); EmailViewPolicy.GetSentEmails(SentEmails); end;Public procedures 8 in 29
| Get | new in 20 |
| Get | new in 20 |
| Get | new in 20 |
| Get | new in 20 |
| Get | new in 20 |
| Get | new in 20 |