Jaa


UserAgeConsentResult Enum

Definition

Specifies the result of a call to CheckUserAgeConsentGroupAsync, querying for a user's membership in a specified UserAgeConsentGroup.

public enum class UserAgeConsentResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 917504)]
enum class UserAgeConsentResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 917504)]
public enum UserAgeConsentResult
var value = Windows.System.UserAgeConsentResult.notEnforced
Public Enum UserAgeConsentResult
Inheritance
UserAgeConsentResult
Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Fields

Name Value Description
NotEnforced 0

The user's region does not use age consent enforcement groups.

Included 1

The user is a member of the specified group, or a group that includes the specified group. For example, checking for Minor will return Included if the user is an Adult, because Adult is a superset of Minor.

NotIncluded 2

The user is not a member of the specified group.

Unknown 3

The system cannot determine which enforcement group the user belongs to.

Ambiguous 4

The specified enforcement group is obsolete, and the user belongs to an enforcement group that partially overlaps it.

Applies to