- Información general
- Comience ya
- Conceptos
- Uso de UiPath CLI
- Guías prácticas
- Recetas de CI/CD
- Referencia de los comandos
- Información general
- Códigos de salida
- Opciones globales
- agente de código UIP
- uip coder
- uip context-grounding
- UIP Docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- añadir-entidad-de-datos-de-prueba
- añadir-cola-de-datos-de-prueba
- añadir-variación-de-datos-de-prueba
- Analizar
- Crear
- Crear proyecto
- Diferencia
- Buscar actividades
- obtener-reglas-del-analizador
- obtener-predeterminado-actividad-xaml
- obtener-errores
- obtener-casos-de-prueba-manual
- obtener-pasos-de-prueba-manual
- get-library-object-repository
- get-object-repository
- obtener versiones
- get-workflow-example
- indicar-aplicación
- indicar-elemento
- inspeccionar-paquete
- install-data-fabric-entities
- instalar-o-actualizar-paquetes
- enumerar-data-fabric-entities
- list-instances
- ejemplos-de-flujo-de-trabajo-de-lista
- Paquete
- Publicar
- remote
- restore
- run, debug & execution
- archivo de ejecución
- plantillas-de-búsqueda
- iniciar-studio
- detener la ejecución
- tm
- UIA
- uip tasks
- Seguimientos de UIP
- uip traces feedback
- Migración
- Referencia y soporte
Syntax and options for `uip user`, which shows identity information about the currently logged-in session.
uip user shows who the current session is authenticated as — a whoami for uip. It takes no arguments and no options beyond the global ones.
Sinopsis
uip user
uip user
uip user honors the global options (--output, --output-filter, --log-level, --log-file). Exit codes follow the standard contract.
Argumentos
Nada.
Opciones
Ninguno más allá de las opciones globales.
Ejemplo
uip user
uip user
Forma de datos (--json de salida)
{
"Code": "User",
"Data": {
"UserId": "a1b2c3d4-0000-0000-0000-000000000001",
"Name": "Jane Doe",
"Username": "jane.doe@my-org",
"Email": "jane.doe@my-org.com",
"FirstName": "Jane",
"LastName": "Doe"
}
}
{
"Code": "User",
"Data": {
"UserId": "a1b2c3d4-0000-0000-0000-000000000001",
"Name": "Jane Doe",
"Username": "jane.doe@my-org",
"Email": "jane.doe@my-org.com",
"FirstName": "Jane",
"LastName": "Doe"
}
}
The fields are parsed straight out of the session's access token claims. When the active session is an application (client-credentials) session rather than a human user, there is no person behind it — UserId/Name/Username/Email/FirstName/LastName come back as empty strings, but the response also includes IdentityType (identifying it as an application identity) and ClientId, so a script can distinguish "no user data" from "not actually a user."
Failure behavior
- Not logged in:
AuthenticationError, exit code2, withInstructionspointing touip login. - Session present but the login-status check itself fails (for example, a corrupted credentials file):
ConfigError, exit code1.
Relacionado
- uip login — start the session
uip userreports on. - uip login status — session-level detail (org, tenant, expiration) rather than user identity.
- Authentication — the credential model behind the session.