首页 > 解决方案 > MIP SDK - MIP SDK 中有哪些可用的用户权限?

问题描述

我正在尝试将“PRINT”UserRight 应用于 ProtectionDescriptor,但它没有打开 PDF 文件内容。尝试查找 MIP SDK 的用户权限列表。我尝试了“所有者”,它有效。但我不想赋予“所有者”权利。任何帮助都会很棒。

var newRights = new List<UserRights>();
foreach (UserSet userset in options.userSet)
{
   newRights.Add(new UserRights(new List<string> { userset.Users  }, new List<string> { "PRINT" }));
};
ProtectionDescriptor protectionDescriptor = new ProtectionDescriptor(newRights);

标签: c#microsoft-information-protection

解决方案


您还必须包括 VIEW。VIEW 是打开内容所需的基本权限。

完整的权利在这里:https ://docs.microsoft.com/en-us/azure/information-protection/configure-usage-rights


推荐阅读