Edit

IFileEngine.GetRightsForLabelId Method

Definition

Get collection of rights available to a user for a label ID.

public System.Collections.Generic.List<string> GetRightsForLabelId(string documentId, string labelId, string ownerEmail, Microsoft.InformationProtection.Protection.ProtectionCommonSettings settings = default);
abstract member GetRightsForLabelId : string * string * string * Microsoft.InformationProtection.Protection.ProtectionCommonSettings -> System.Collections.Generic.List<string>
Public Function GetRightsForLabelId (documentId As String, labelId As String, ownerEmail As String, Optional settings As ProtectionCommonSettings = Nothing) As List(Of String)

Parameters

documentId
String

Document ID associated with the document metadata.

labelId
String

Label ID associated with the document metadata with which the document created.

ownerEmail
String

Owner of the document.

settings
ProtectionCommonSettings

Common settings for protection

Returns

List of rights.

Applies to