UserAgeGroup Enumeration

User age groups.

Syntax

public enum class UserAgeGroup  

Members

Member Value Description
Adult User is an adult.
Child User is a child.
Teen User is a teen.
Unknown User age is unknown.

Remarks

If you need to know whether a user has a particular privilege, and that privilege is dependent on the user’s age, then you must use a privilege API to retrieve the privilege. Do not use age group as a substitute for checking a privilege. Privileges are evaluated specifically for the user’s age, location, and other factors.

A user’s exact age is Personally Identifiable Information (PII) and is not reported by Xbox One.

For detailed information about the Xbox Live User Privilege system, see “Upsell and Access Control to Features of Xbox Live Using Privileges,” a white paper available from White Papers on the Xbox Game Developer (XGD) site.

Requirements

Namespace: Windows.Xbox.System

Metadata: windows.winmd

See also

Reference

Windows.Xbox.System Namespace