Edit

Share via


ProtectionDescriptor Constructors

Definition

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

userRoles
List<UserRoles>

Collection of users-to-roles mappings

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

serializedTemplate
List<Byte>

protection serialized template

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
users
List<String>

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

usersusersWithDefaultRights
List<String>
additionalUsersAndRights
List<UserRights>

Additional rights to assign users

Applies to