UiPath Documentation
uipath-cli
latest
false
Guide de l'utilisateur de UiPath CLI
Important :
Ce contenu a été traduit à l'aide d'une traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

uip tm project-permissions

Syntax and options for `uip tm project-permissions`, which lists the Test Manager permissions the signed-in account holds on a project.

uip tm project-permissions reports the Test Manager permission names that the signed-in account holds on a project. Use it to check access before a write, or to compare your permissions with what a refused operation needs.

Synthèse​

uip tm project-permissions get (--project-key <key> | --project-id <id>)
uip tm project-permissions get (--project-key <key> | --project-id <id>)

Tous les verbes respectent les options globales et les codes de sortie standard.

uip tm project-permissions get​

Show the permission names that you hold on a project. The CLI has no mapping from operations to permissions, so it cannot name the permission a refused operation is missing. The command reports your own permissions only and has no option for another user.

The command itself needs Project.Read. An account that cannot read the project gets a 403 error here too, instead of an empty list.

Arguments​

Aucun

Options​

DrapeauDescription
--project-key <key>Test Manager project key. One of --project-key or --project-id is required. Ignored if --project-id is also given.
--project-id <id>Test Manager project ID. Use instead of --project-key; wins if both are given.

Exemple​

uip tm project-permissions get --project-key DEMO
uip tm project-permissions get --project-key DEMO

Format des données​

{
  "Code": "ProjectPermissionsGet",
  "Data": {
    "ProjectId": "a1b2c3d4-0000-0000-0000-000000000001",
    "Permissions": [
      "TestSets.View",
      "TestCases.View",
      "AutomatedExecution.Execute"
    ],
    "Count": 3
  }
}
{
  "Code": "ProjectPermissionsGet",
  "Data": {
    "ProjectId": "a1b2c3d4-0000-0000-0000-000000000001",
    "Permissions": [
      "TestSets.View",
      "TestCases.View",
      "AutomatedExecution.Execute"
    ],
    "Count": 3
  }
}

Permissions lists the permission names you hold, and Count is their number. An empty Permissions array with Count 0 means you hold no permissions on the project.

Voir également​

  • Synthèse​
  • uip tm project-permissions get​
  • Arguments​
  • Options​
  • Exemple​
  • Format des données​
  • Associé​
  • Voir également​

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance(opens in new window)

Vous souhaitez apprendre ? UiPath Academy(opens in new window)

Vous avez des questions ? UiPath Forum(opens in new window)

Rester à jour