src users get

gets a user.

Examples:

Get user with username alice:

$ src users get -username=alice

Usage

SH
$ src users get [options]

Flags

NameDescriptionDefault Value
--dump-requestsLog GraphQL requests and responses to stdoutfalse
--emailLook up user by email. (e.g. "alice@sourcegraph.com")``
--get-curlPrint the curl command for executing this query and exit (WARNING: includes printing your access token!)false
--insecure-skip-verifySkip validation of TLS certificates against trusted chainsfalse
--traceLog the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracingfalse
--user-agent-telemetryInclude the operating system and architecture in the User-Agent sent with requests to Sourcegraphtrue
--usernameLook up user by username. (e.g. "alice")``
-fFormat for the output, using the syntax of Go package text/template. (e.g. "{{.ID}}: {{.Username}} ({{.DisplayName}})") | `"{{.\json}}"`