fredcli user info
Provides information about the current user.
Synopsis
Description
This command provides information about the currently logged in user. The information includes, name, organization and products that are licensed to the user.
Errors
If the user does not have a valid fredcli
config with a valid token, a User not authorized
error will be displayed. The --output
option specifies the format for this command: one of
text
, json
, or yaml
.
Examples
The following example shows the user information.
$ fredcli user info
Name: Fredcli User
Email: [email protected]
Organization: User Inc.
Products: fred-studio, fredcli, FRED
Created: 30/08/2021, 01:17:22 AM
Modified: 12/01/2022, 08:50:35 PM
As another example, the same status is shown with yaml output and verbose mode.
$ fredcli user info --output yaml
access: true
created: '2021-08-30T01:17:22.864Z'
email: [email protected]
first: Fredcli
id: 6
last: User
lastModified: '2022-01-12T20:50:35.134Z'
orgId: 1
orgName: User Inc.
products:
- fred-studio
- fredcli
- FRED
refId: '6'