Documentation

​
​

Development

User Acquisition

Monetization

Industry

Unity Gaming Services CLI

v1.9

Supported
​

GitHub Repository

Unity Gaming Services CLI

v1.9

Supported
​

Unity Gaming Services CLI
​
​
Access
  • Overview
  • Resource Definitions
  • Commands
    • Delete Player Policy Statements
    • Delete Project Policy Statements
    • Get All Player Policies
    • Get Player Policy
    • Get Project Policy
    • New-File
    • Upsert Player Policy
    • Upsert Project Policy
  1. UGS CLI
  2. Access

Get Player Policy

Get a player based policy.
Read time 1 minute
Last updated 3 months ago

Get a player based policy.

Command

Authentication Required:
Yes
ugs access get-player-policy <player-id> [options]

Arguments

<player-id>
The player ID

Options

Alias

Description

project-id-p, --project-idThe Unity cloud project ID.
environment-e, --environment-nameThe services environment name.
help-?, -h, --helpDisplay help and usage information.
quiet-q, --quietReduce logging to a minimum.
json-j, --jsonUse JSON as the output format.
Note
Please avoid using
--json
flag with this command as the output is already in JSON format.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Command

    • Arguments

    • Options