Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex DataLens
  • DataLens neuroanalyst
    • Overview
    • Formula syntax
    • Neuroanalyst for creating calculated fields
      • All Functions
        • Overview
        • BOLD
        • BR
        • COLOR
        • IMAGE
        • ITALIC
        • MARKUP
        • SIZE
        • TOOLTIP
        • URL
        • USER_INFO
      • Function Availability
    • Parameters
  • DataLens Gallery
  • Audit Trails events
  1. Calculated fields
  2. Function reference
  3. Text markup functions
  4. USER_INFO

USER_INFO

Written by
Yandex Cloud
Updated at July 25, 2025

SyntaxSyntax

USER_INFO( user_id, user_info_type )

DescriptionDescription

Returns the marked up text by user_id to display username or email depending on the user_info_type value:

  • email: Returns email.
  • name: Returns name.

If the user has not been found, the function will return the original string from the source.

Argument types:

  • user_id — String
  • user_info_type — String

Return type: Markup

ExamplesExamples

USER_INFO('b1ggmp8es27t********', 'name') = 'test_user'
USER_INFO([UserId], 'email') = 'test_user@example.com'

Data source supportData source support

ClickHouse 21.8, Files, Google Sheets, Microsoft SQL Server 2017 (14.0), MySQL 5.7, Oracle Database 12c (12.1), PostgreSQL 9.3, Yandex Documents, YDB.

Was the article helpful?

Previous
URL
Next
Overview
© 2025 Direct Cursus Technology L.L.C.