ConsentResult class
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Used for managing the user's consent information.
In operation, users can accept the consent or reject it. Users can also choose to show the consent again or not. You can save a user s decision about whether to see the consent prompt again by using the ShowAgain property.
Syntax
public ref class ConsentResult sealed
Members
The ConsentResult class inherits from IInspectable. ConsentResult also has these types of members:
Methods
The ConsentResult class has these methods. It also inherits methods from the Object class.
Method | Description |
---|---|
ConsentResult | Creates and initializes an instance of a ConsentResult object. |
Properties
The ConsentResult class has these properties.
Property | Access type | Description |
---|---|---|
Accepted |
Read-only |
Gets the Accepted flag indicating the user has consented or not. |
ShowAgain |
Read-only |
Gets the ShowAgain flag indicating whether the user consent prompt should be shown again or not. |
UserId |
Read-only |
Gets the email ID of the user giving consent. |
Requirements
Minimum supported client |
None supported |
Minimum supported server |
None supported |
Minimum supported phone |
Windows Phone 8.1 |
Namespace |
Microsoft::RightsManagement |
Metadata |
|