We are using the Azure MIP SDK to encrypt documents. The API is pretty simple and the samples are good when you use the template functionality. But... We want to generate the Protection Descriptor ourselves. Works well with users emails. But in all the doc/samples impossible to find how to define a role or permission for "All Authenticated Users" (The definition exists in the templates). Any comment/suggestions would be most welcome.
var newRights = new List<UserRights>{
new UserRights(
new List<string> {
"aip@someaddress.com",
},
new List<string> {"owner"}
),
};
ProtectionDescriptor protectionDescriptor = new ProtectionDescriptor(newRights);