PolicyDescriptor class

Information required for custom protection.

Syntax

public ref class PolicyDescriptor sealed 

Members

The PolicyDescriptor class inherits from IInspectable. PolicyDescriptor also has these types of members:

Constructors

The PolicyDescriptor class has these constructors.

Constructor Description
PolicyDescriptor(userRightsList) Constructor for PolicyDescriptor which initializes the object with a list of user rights.
PolicyDescriptor(userRolesList) Constructor for PolicyDescriptor which initializes the object with a list of user roles.

Properties

The PolicyDescriptor class has these properties.

Property Access type Description
ContentValidUntil
Read/write
Gets or sets the date that the content is valid until.
Description
Read/write
Gets or sets the description of the PolicyDescriptor.
EncryptedAppData
Read/write
Gets or sets the encrypted app data.
Name
Read/write
Gets or sets the name of the PolicyDescriptor.
OfflineCacheLifetimeInDays
Read/write
Gets or sets the time a user policy can be cached offline (in days).
Referrer
Read/write
Gets or sets the referral URI of the PolicyDescriptor.
SignedAppData
Read/write
Gets or sets the signed app data.
UserRightsList
Read-only
Gets the UserRightsList for the PolicyDescriptor.
UserRolesList
Read-only
Gets the user's roles list.

Requirements

Minimum supported client
None supported
Minimum supported server
None supported
Minimum supported phone
Windows Phone 8.1
Namespace
Microsoft::RightsManagement
Metadata
Microsoft.RightsManagement.winmd

See also

IInspectable