User output
Warning
This is an experimental feature subject to breaking changes in future releases.
The conan user provides a --json parameter to generate a file containing the information of the users configured per remote.
The output JSON contains a two first level keys:
error: Boolean indicating whether command completed with error.
remotes: A list of the remotes with the packages found. Each element contains:
name: Name of the remote.
user_name: Name of the user set for that remote.
authenticated: Boolean indicating if user is authenticated or not.
Example:
List users per remote: conan user --json user.json
{ "error":false, "remotes":[ { "name":"conancenter", "user_name":"danimtb", "authenticated":true }, { "name":"bincrafters", "user_name":null, "authenticated":false }, { "name":"the_remote", "user_name":"foo", "authenticated":false } ] }