ProtectionDescriptor Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ProtectionDescriptor(List<UserRights>) |
Constructor for ProtectionDescriptor for Adhoc |
ProtectionDescriptor(List<UserRoles>) |
Constructor for ProtectionDescriptor for Adhoc |
ProtectionDescriptor(List<Byte>) |
Constructor for ProtectionDescriptor for Template |
ProtectionDescriptor(String) |
Constructor for ProtectionDescriptor for Template |
ProtectionDescriptor(LicenseType, List<String>) | |
ProtectionDescriptor(LicenseType, List<String>, List<UserRights>) |
Constructor for ProtectionDescriptor for Adhoc with license type |
ProtectionDescriptor(List<UserRights>)
Constructor for ProtectionDescriptor for Adhoc
public ProtectionDescriptor (System.Collections.Generic.List<Microsoft.InformationProtection.UserRights> userRights);
new Microsoft.InformationProtection.ProtectionDescriptor : System.Collections.Generic.List<Microsoft.InformationProtection.UserRights> -> Microsoft.InformationProtection.ProtectionDescriptor
Public Sub New (userRights As List(Of UserRights))
Parameters
- userRights
- List<UserRights>
Collection of users-to-rights mappings
Applies to
ProtectionDescriptor(List<UserRoles>)
Constructor for ProtectionDescriptor for Adhoc
public ProtectionDescriptor (System.Collections.Generic.List<Microsoft.InformationProtection.UserRoles> userRoles);
new Microsoft.InformationProtection.ProtectionDescriptor : System.Collections.Generic.List<Microsoft.InformationProtection.UserRoles> -> Microsoft.InformationProtection.ProtectionDescriptor
Public Sub New (userRoles As List(Of UserRoles))
Parameters
Applies to
ProtectionDescriptor(List<Byte>)
Constructor for ProtectionDescriptor for Template
public ProtectionDescriptor (System.Collections.Generic.List<byte> serializedTemplate);
new Microsoft.InformationProtection.ProtectionDescriptor : System.Collections.Generic.List<byte> -> Microsoft.InformationProtection.ProtectionDescriptor
Public Sub New (serializedTemplate As List(Of Byte))
Parameters
Applies to
ProtectionDescriptor(String)
Constructor for ProtectionDescriptor for Template
public ProtectionDescriptor (string templateId);
new Microsoft.InformationProtection.ProtectionDescriptor : string -> Microsoft.InformationProtection.ProtectionDescriptor
Public Sub New (templateId As String)
Parameters
- templateId
- String
protection template ID
Applies to
ProtectionDescriptor(LicenseType, List<String>)
public ProtectionDescriptor (Microsoft.InformationProtection.LicenseType licenseType, System.Collections.Generic.List<string> users);
new Microsoft.InformationProtection.ProtectionDescriptor : Microsoft.InformationProtection.LicenseType * System.Collections.Generic.List<string> -> Microsoft.InformationProtection.ProtectionDescriptor
Public Sub New (licenseType As LicenseType, users As List(Of String))
Parameters
- licenseType
- LicenseType
Applies to
ProtectionDescriptor(LicenseType, List<String>, List<UserRights>)
Constructor for ProtectionDescriptor for Adhoc with license type
public ProtectionDescriptor (Microsoft.InformationProtection.LicenseType licenseType, System.Collections.Generic.List<string> users, System.Collections.Generic.List<Microsoft.InformationProtection.UserRights> additionalUsersAndRights);
public ProtectionDescriptor (Microsoft.InformationProtection.LicenseType licenseType, System.Collections.Generic.List<string> usersWithDefaultRights, System.Collections.Generic.List<Microsoft.InformationProtection.UserRights> additionalUsersAndRights);
new Microsoft.InformationProtection.ProtectionDescriptor : Microsoft.InformationProtection.LicenseType * System.Collections.Generic.List<string> * System.Collections.Generic.List<Microsoft.InformationProtection.UserRights> -> Microsoft.InformationProtection.ProtectionDescriptor
new Microsoft.InformationProtection.ProtectionDescriptor : Microsoft.InformationProtection.LicenseType * System.Collections.Generic.List<string> * System.Collections.Generic.List<Microsoft.InformationProtection.UserRights> -> Microsoft.InformationProtection.ProtectionDescriptor
Public Sub New (licenseType As LicenseType, users As List(Of String), additionalUsersAndRights As List(Of UserRights))
Public Sub New (licenseType As LicenseType, usersWithDefaultRights As List(Of String), additionalUsersAndRights As List(Of UserRights))
Parameters
- licenseType
- LicenseType
The license type to create this ProtectionDescriptor for
- additionalUsersAndRights
- List<UserRights>
Additional rights to assign users