IPolicyProfile Interface

Definition

PolicyProfile class is the root class for using the Microsoft Information Protection operations.

A typical application will only need one PolicyProfile but it can create multiple profiles if needed.

public interface IPolicyProfile : IDisposable
type IPolicyProfile = interface
    interface IDisposable
Public Interface IPolicyProfile
Implements IDisposable
Implements

Properties

Settings

Get the settings set on the profile.

Methods

AcquireAuthToken(Cloud, IAuthDelegate)

Trigger an authentication callback

AddEngine(PolicyEngineSettings)

Starts adding a new policy engine to the profile.

AddEngineAsync(PolicyEngineSettings)

Starts adding a new policy engine to the profile.

DeleteEngine(String)

Starts deleting the policy engine with the given id. All data for the given profile will be completely deleted.

DeleteEngineAsync(String)

Starts deleting the policy engine with the given id. All data for the given profile will be completely deleted.

ListEngines()

Starts list engines operation.

ListEnginesAsync()

Starts list engines operation.

UnloadEngine(String)

Starts unloading the policy engine with the given id.

UnloadEngineAsync(String)

Starts unloading the policy engine with the given id.

Events

OnAddingEngine

An event that is called prior to the creation of a new engine.

OnPolicyChanged

An event that is called whenever the underlying policy is changed.

Applies to