GamerPrivileges Class

Describes what operations a gamer is allowed to perform.

Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)

Syntax

public sealed class GamerPrivileges

Remarks

GamerPrivileges can be defined by parental control settings, and will also be set automatically in response to things like age, region, and whether the gamer has a LIVE Gold or LIVE Silver account. Games do not need to explicitly check privileges, because a GamerPrivilegeException will be thrown if they try to perform an unsupported operation, but these privilege bits may be useful to detect that an operation is unavailable before calling it so as to grey-out the relevant menu option.

See Also

Reference

SignedInGamer.Privileges Property
GamerPrivileges Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP