文档

Unity Gaming Services CLI

GitHub Repository

Unity Gaming Services CLI

List player policies

Get all player policies for a particular project.
阅读时间1 分钟最后更新于 19 天前

Retrieve player policies for a project and environment. Returns all player policies when
--player-id
is omitted, or the policy for the specified player when
--player-id
is provided.

Command

Authentication Required:
Yes
ugs access player-policy list [options]

Options

Alias

Description

player-id--player-idThe ID of the player. Omit to list all player policies.
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.
注意
Please avoid using
--json
flag with this command as the output is already in JSON format.