Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Outlook 中有两个来自服务器“机密”和“仅限机密视图”的 Azure 信息保护标签。我需要检查电子邮件收件人的权限,如果未选择 Azure 标签,则设置 Azure 标签的权限之一。我如何在 C# 中做到这一点?
我有这个问题的解决方案。每个 Azure 信息保护标签都有一个 GUID,可以从 Azure 服务器管理员处获取;
如果需要为 MailItem 设置权限,试试这个
MailItem item = Item as Outlook.MailItem; string templateGUID = "{5F56C571-D3E0-4A06-8896-XXXXXXXXXXXX}"; item.PermissionTemplateGuid = templateGUID;