Compartilhar via


GetUserPolicyResult class

Provides access for the referrer. This class implements a workaround for Rights Management SDK 4.2 for Windows RT and Windows Phone by creating a structure for getting the referrer.

On other supported operating systems, UserPolicy.AcquireAsync() directly returns a UserPolicy and returns the referrer via a custom "no rights" exception or whatever error handling mechanism is used for the platform (ex. NSError in iOS/OS X).

Syntax

public ref class GetUserPolicyResult sealed 

Members

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

Properties

The GetUserPolicyResult class has these properties.

Property Access type Description
Policy
Read-only
The protection policy if the call succeeded.
Referrer
Read-only
Referral info.
Status
Read-only
The return code

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