Skip to content

Programming & Mustangs!

A place for tutorials on programming and other such works.

  • AWS
    • AWS & Python
    • AWS & Node
    • AWS & Java
  • Azure
    • Azure: Python SDK
    • Azure Toolkit Installation for Eclipse
    • Azure: Install/Configure CLI
    • Azure: EventHub
    • Azure: Tags
    • Synapse
      • Synapse: Key Vault Linked Service
      • Synapse: Environment Variables
      • Synapse: List Python Packages
      • Synapse: Help Command
      • Synapse: Mounts
      • Synapse: Get Secret
      • Synapse: Notebook Exit
      • Synapse: Get KeyVault Properties Using Token Library
      • Synapse: SAS Token
  • CSS
    • CSS: FlexBox
    • CSS: Bootstrap DropDown From Text Click
    • CSS: Bootstrap Panel
    • CSS: Rotate Image
  • BigData
    • Databricks
      • Unity Catalog
        • Databricks Unity Catalog Rest API’s
        • Databricks Unity Catalog SQL Commands
      • Databricks: Python SDK
      • Databricks: Setup dbutils
      • Databricks: Notebook SQL
      • Databricks: Get Current User
      • Databricks: Check for Orphaned Workspace Directories
      • Databricks: Widgets Text
      • Databricks: Notebook Exit
      • Databricks: Get Secret
      • Databricks: Spark Check Table Exists
      • Databricks: Bearer Token CLI
      • Databricks: Mounts
      • Databricks: Notebook Commands
      • Databricks: Set Spark Configs
      • Databricks: Rest API
    • HortonWorks
    • Avro
      • Avro & Java: Record Parsing
      • Avro & Python: How to Schema, Write, Read
    • ElasticSearch
      • ElasticSearch Installation
      • ElasticSearch: Low Level Rest Client Connection
        • ElasticSearch: Low Level Client Put
        • ElasticSearch: Low Level Client Get
      • ElasticSearch: High Level Rest Client Connection
        • ElasticSearch: High Level Client Post
        • ElasticSearch: High Level Client Search
        • ElasticSearch: High Level Client Search Scrolling
    • Kafka
      • Kafka: Installation (Basic)
      • Kafka: Kerberize/SSL
      • Kafka & Java: Unsecure Producer Send Record
      • Kafka & Java: Secured Producer Send Record
      • Kafka & Java: Unsecure Consumer Read Record
      • Kafka & Java: Secured Consumer Read Record
      • Kafka & Java: Consumer List Topics
      • Kafka & Java: Consumer Seek To Beginning
    • Hadoop
      • Hadoop 2.9.1: Installation
      • Hadoop 3.2.0: Installation
      • HDFS/Yarn/MapRed: Kerberize/SSL
      • Hadoop: Rack Awareness
      • Hadoop: Add a New DataNode
      • Hadoop: Secondary NameNode
      • Hadoop: Commands
      • Hadoop & Java: Connect Remote Unsecured HDFS
      • Hadoop & Java: Connect to Remote Kerberos HDFS using KeyTab
      • Build a Java Map Reduce Application
    • HBase
      • HBase: Kerberize/SSL Installation
      • HBASE & Java: Connecting Secure
      • HBASE: Connecting Unsecure
      • HBASE & Java: Create a Table
      • HBASE & Java: Delete a Table
      • HBASE & Java: Search for Data
      • HBASE & Java: Scan Filters
      • Phoenix
        • Phoenix: Kerberize Installation
        • Phoenix & Java: Connecting Secure
        • HBASE Phoenix & Java: Unsecure Connection
    • Hive
      • Hive Kerberos Installation
      • Hive & Java: Connect to Remote Kerberos Hive using KeyTab
      • Hive: Database
      • Hive: Tables
      • Hive: Views
      • Hive: Variables
      • Hive: Map
      • Hive: Struct
      • Hive: Misc
    • Jupyter
      • Jupyter Installation
    • NiFi
      • NiFi Installation (Basic)
      • NiFi: Kerberize/SSL
      • NiFi: Custom Processor
      • NiFi: Rest API
      • NiFi: Kerberized Kafka Consumer Processor
      • NiFi: ExecuteSQL Processor
    • PIG
      • PIG: Testing
    • Sqoop2
      • Sqoop2: Installation
    • Spark
      • PySpark: StandAlone Installation on Windows
      • PySpark: Delta Lake
      • PySpark: Create a Spark Session
      • PySpark DataFrame Methods
      • PySpark: Create a DataFrame
      • PySpark: Save a DataFrame To ADLS
      • PySpark: Read From ADLS to DataFrame
      • Spark Connector Connect to SQL Server
      • PySpark: Eclipse Integration
      • Spark Installation on Hadoop
    • Zookeeper
      • Zookeeper Kerberos Installation
  • Scala
    • Scala: Basic Class Creation
    • Scala IDE Installation for Eclipse
  • Java
    • Dropwizard
      • Java: Basic Dropwizard Project
      • Dropwizard: Guice Bundle
      • Dropwizard: Command
      • Dropwizard: Resource
      • Dropwizard: Swagger Integration
    • Unit Testing
      • Java: JUnit 4 Example
      • Java: JUnit 4 /w PowerMock
    • Java: Input/Output Streams
    • Java: ExecutorService / Future
    • Java: Embed JavaScript
    • Java: Embed Python
    • Java: Enums
    • Java: Connect to Postgres
    • Java: String.format
    • Java: Command Line Arguments Parsing
    • Java: Jackson Json
    • Java: Read File From Resource
    • Java IDE Installation for Eclipse
      • Eclipse/Maven: CheckStyle Integration
      • Eclipse/Maven: Jacoco Integration
      • Eclipse/Maven: FindBugs/SpotBugs Integration
      • Eclipse/Maven: PMD Integration
  • JS
    • React, Babel + Eslint Configuration
    • JavaScript
      • Distinct Records in Object Array
      • Javascript: Variable Type
      • Javascript: Math Functions
      • Javascript: Find
      • Javascript: JSON
      • Javascript: Map
      • Javascript: Filter
      • JavaScript: Download Object Data
    • Enzyme
      • Enzyme
    • Underscore
      • JavaScript: Node & UnderscoreJs
    • Lodash
      • JavaScript: Node & Lodash
    • Leaflet
      • React: Basic Leaflet Map Example
      • React: Leaflet Modal
      • React: Leaflet EasyButton
      • React: Leaflet html Controls
      • React: Leaflet DomEvent
      • React: Leaflet LayerGroup
      • React: Leaflet Control
      • React: Leaflet Icon
      • React: Leaflet Markers
    • HighCharts
      • HighCharts: Basic Graphing
      • Highcharts: Add Custom Buttons
    • Node
      • AWS & Node
      • Simple Node WebApp
    • React
      • React Add CSS to Your Site
      • React: Page Layout
      • React: Export Module
  • .NET
    • C#: Connect to WebService
    • Dynamic Property Grid
      • PropertyGrid: DropDown Editor
      • PropertyGrid: DropDown Property
      • PropertyGrid: CheckBoxList Editor
      • PropertyGrid: CheckBoxList Property
  • OS
    • Ubuntu
      • Ubuntu: tmux
      • NGINX + UWSGI + Ubuntu 16
    • Shell: SED Command
    • Shell: Misc Commands
    • Shell: AWK Command
    • Shell: Functions
    • unRaid: Midnight Commander
    • VirtualBox
  • Python
    • Packages
      • Django
        • Django: React Website
      • Flask
        • Flask: React Website
        • Python: Flask SQLAlchemy
        • Python: Flask Resource
      • Python: MRJob
      • Python: lxml
      • Python: Arguments
      • Python: Multiprocessing Pool
      • Python: Logging
        • Python: Create a Logger
      • Python: xlrd (Read Excel File)
      • Python: pyodbc with SQL Server
    • Python: Selenium Tests
    • Python: Create in Memory Zip File
    • Python: For Loops
    • Python: Enums
    • Python: Connect To Hadoop
    • Python: Run Module as Script
    • Python: CSV from Array
    • Python: Environment Variables
    • Python: Working with DateTimes
    • Python: Get First Occurrence of Value in Array
    • Python: Run Process
    • Python: Create a WHL File
    • Python: Unit Testing
    • Python: Misc
    • Python: Create pip Config
    • Python IDE Installation for Eclipse
  • SQL
    • PostgreSQL
      • Postgres: Setup
      • Postgres: Vacuum
      • Postgres: Backup
      • Postgres: Restore
      • Postgres: PgAgent Installation
      • Postgres: Tables
      • Postgres: Views
      • Postgres: Functions/Triggers
      • Postgres: Check Data Type
      • Postgres: String to Rows
      • Postgres: dblink
      • Postgres: Misc
    • CouchBase
      • CouchBase Testing
    • CouchDB
      • CouchDB Testing
    • MongoDB
      • MongoDB Testing
    • Formatting and Readability
  • Kerberos
    • Kerberos Server Installation
    • Kerberos: Commands
  • Mustang
    • How I Came To Restore a 1974 Mustang II FastBack
    • 1974 Mustang II Exhaust Replacement
    • 1974 Mustang II Engine Harness Replacement
    • 1974 Mustang II Dash Wiring Repair & Update
    • 1974 Mustang II Center Console Redone
    • 1974 Mustang II Timing Cover Fix
Programming & Mustangs!

Databricks: Get Current User

(Last Updated On: )

This post is how to find the current logged in user.

You can run the following command or look at the UI to see who is currently logged in.

  1. SELECT CURRENT_USER();

 

Share this:

  • Tweet
  • Email
  • WhatsApp
  • Reddit

Like this:

Like Loading...

Related

Author OliverPosted on April 10, 2024Categories DatabricksTags databricks, current_user

Post navigation

Previous Previous post: PySpark DataFrame Methods
Next Next post: Databricks: Python SDK

Hits

  • 42,550 hits

Databricks

  • Databricks: Check for Orphaned Workspace Directories
  • Databricks: Python SDK
  • Databricks: Get Current User
  • Databricks Unity Catalog SQL Commands
  • Databricks Unity Catalog Rest API’s
  • Databricks: Widgets Text
  • Databricks: Notebook Exit
  • Databricks: Get Secret
  • Databricks: Setup dbutils
  • Databricks: Spark Check Table Exists
  • Databricks: Notebook SQL
  • Databricks: Mounts
  • Databricks: Notebook Commands
  • Databricks: Bearer Token CLI
  • Databricks: Rest API
  • Databricks: Set Spark Configs
  • Contact Me
  • Publications

Recent Posts

  • Databricks: Check for Orphaned Workspace Directories

    3 months ago
  • SourceTree Installation on Windows

    8 months ago
  • Installing Jenkins Using Docker on Windows

    8 months ago
  • Oracle JDBC

    11 months ago
  • Azure: Tags

    1 year ago
  • Databricks: Python SDK

    1 year ago
  • PySpark DataFrame Methods

    1 year ago
  • Databricks Unity Catalog SQL Commands

    1 year ago
  • Databricks Unity Catalog Rest API’s

    1 year ago
  • Synapse: Get KeyVault Properties Using Token Library

    1 year ago

Login

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • AWS
    • AWS & Python
    • AWS & Node
    • AWS & Java
  • Azure
    • Azure: Python SDK
    • Azure Toolkit Installation for Eclipse
    • Azure: Install/Configure CLI
    • Azure: EventHub
    • Azure: Tags
    • Synapse
      • Synapse: Key Vault Linked Service
      • Synapse: Environment Variables
      • Synapse: List Python Packages
      • Synapse: Help Command
      • Synapse: Mounts
      • Synapse: Get Secret
      • Synapse: Notebook Exit
      • Synapse: Get KeyVault Properties Using Token Library
      • Synapse: SAS Token
  • CSS
    • CSS: FlexBox
    • CSS: Bootstrap DropDown From Text Click
    • CSS: Bootstrap Panel
    • CSS: Rotate Image
  • BigData
    • Databricks
      • Unity Catalog
        • Databricks Unity Catalog Rest API’s
        • Databricks Unity Catalog SQL Commands
      • Databricks: Python SDK
      • Databricks: Setup dbutils
      • Databricks: Notebook SQL
      • Databricks: Get Current User
      • Databricks: Check for Orphaned Workspace Directories
      • Databricks: Widgets Text
      • Databricks: Notebook Exit
      • Databricks: Get Secret
      • Databricks: Spark Check Table Exists
      • Databricks: Bearer Token CLI
      • Databricks: Mounts
      • Databricks: Notebook Commands
      • Databricks: Set Spark Configs
      • Databricks: Rest API
    • HortonWorks
    • Avro
      • Avro & Java: Record Parsing
      • Avro & Python: How to Schema, Write, Read
    • ElasticSearch
      • ElasticSearch Installation
      • ElasticSearch: Low Level Rest Client Connection
        • ElasticSearch: Low Level Client Put
        • ElasticSearch: Low Level Client Get
      • ElasticSearch: High Level Rest Client Connection
        • ElasticSearch: High Level Client Post
        • ElasticSearch: High Level Client Search
        • ElasticSearch: High Level Client Search Scrolling
    • Kafka
      • Kafka: Installation (Basic)
      • Kafka: Kerberize/SSL
      • Kafka & Java: Unsecure Producer Send Record
      • Kafka & Java: Secured Producer Send Record
      • Kafka & Java: Unsecure Consumer Read Record
      • Kafka & Java: Secured Consumer Read Record
      • Kafka & Java: Consumer List Topics
      • Kafka & Java: Consumer Seek To Beginning
    • Hadoop
      • Hadoop 2.9.1: Installation
      • Hadoop 3.2.0: Installation
      • HDFS/Yarn/MapRed: Kerberize/SSL
      • Hadoop: Rack Awareness
      • Hadoop: Add a New DataNode
      • Hadoop: Secondary NameNode
      • Hadoop: Commands
      • Hadoop & Java: Connect Remote Unsecured HDFS
      • Hadoop & Java: Connect to Remote Kerberos HDFS using KeyTab
      • Build a Java Map Reduce Application
    • HBase
      • HBase: Kerberize/SSL Installation
      • HBASE & Java: Connecting Secure
      • HBASE: Connecting Unsecure
      • HBASE & Java: Create a Table
      • HBASE & Java: Delete a Table
      • HBASE & Java: Search for Data
      • HBASE & Java: Scan Filters
      • Phoenix
        • Phoenix: Kerberize Installation
        • Phoenix & Java: Connecting Secure
        • HBASE Phoenix & Java: Unsecure Connection
    • Hive
      • Hive Kerberos Installation
      • Hive & Java: Connect to Remote Kerberos Hive using KeyTab
      • Hive: Database
      • Hive: Tables
      • Hive: Views
      • Hive: Variables
      • Hive: Map
      • Hive: Struct
      • Hive: Misc
    • Jupyter
      • Jupyter Installation
    • NiFi
      • NiFi Installation (Basic)
      • NiFi: Kerberize/SSL
      • NiFi: Custom Processor
      • NiFi: Rest API
      • NiFi: Kerberized Kafka Consumer Processor
      • NiFi: ExecuteSQL Processor
    • PIG
      • PIG: Testing
    • Sqoop2
      • Sqoop2: Installation
    • Spark
      • PySpark: StandAlone Installation on Windows
      • PySpark: Delta Lake
      • PySpark: Create a Spark Session
      • PySpark DataFrame Methods
      • PySpark: Create a DataFrame
      • PySpark: Save a DataFrame To ADLS
      • PySpark: Read From ADLS to DataFrame
      • Spark Connector Connect to SQL Server
      • PySpark: Eclipse Integration
      • Spark Installation on Hadoop
    • Zookeeper
      • Zookeeper Kerberos Installation
  • Scala
    • Scala: Basic Class Creation
    • Scala IDE Installation for Eclipse
  • Java
    • Dropwizard
      • Java: Basic Dropwizard Project
      • Dropwizard: Guice Bundle
      • Dropwizard: Command
      • Dropwizard: Resource
      • Dropwizard: Swagger Integration
    • Unit Testing
      • Java: JUnit 4 Example
      • Java: JUnit 4 /w PowerMock
    • Java: Input/Output Streams
    • Java: ExecutorService / Future
    • Java: Embed JavaScript
    • Java: Embed Python
    • Java: Enums
    • Java: Connect to Postgres
    • Java: String.format
    • Java: Command Line Arguments Parsing
    • Java: Jackson Json
    • Java: Read File From Resource
    • Java IDE Installation for Eclipse
      • Eclipse/Maven: CheckStyle Integration
      • Eclipse/Maven: Jacoco Integration
      • Eclipse/Maven: FindBugs/SpotBugs Integration
      • Eclipse/Maven: PMD Integration
  • JS
    • React, Babel + Eslint Configuration
    • JavaScript
      • Distinct Records in Object Array
      • Javascript: Variable Type
      • Javascript: Math Functions
      • Javascript: Find
      • Javascript: JSON
      • Javascript: Map
      • Javascript: Filter
      • JavaScript: Download Object Data
    • Enzyme
      • Enzyme
    • Underscore
      • JavaScript: Node & UnderscoreJs
    • Lodash
      • JavaScript: Node & Lodash
    • Leaflet
      • React: Basic Leaflet Map Example
      • React: Leaflet Modal
      • React: Leaflet EasyButton
      • React: Leaflet html Controls
      • React: Leaflet DomEvent
      • React: Leaflet LayerGroup
      • React: Leaflet Control
      • React: Leaflet Icon
      • React: Leaflet Markers
    • HighCharts
      • HighCharts: Basic Graphing
      • Highcharts: Add Custom Buttons
    • Node
      • AWS & Node
      • Simple Node WebApp
    • React
      • React Add CSS to Your Site
      • React: Page Layout
      • React: Export Module
  • .NET
    • C#: Connect to WebService
    • Dynamic Property Grid
      • PropertyGrid: DropDown Editor
      • PropertyGrid: DropDown Property
      • PropertyGrid: CheckBoxList Editor
      • PropertyGrid: CheckBoxList Property
  • OS
    • Ubuntu
      • Ubuntu: tmux
      • NGINX + UWSGI + Ubuntu 16
    • Shell: SED Command
    • Shell: Misc Commands
    • Shell: AWK Command
    • Shell: Functions
    • unRaid: Midnight Commander
    • VirtualBox
  • Python
    • Packages
      • Django
        • Django: React Website
      • Flask
        • Flask: React Website
        • Python: Flask SQLAlchemy
        • Python: Flask Resource
      • Python: MRJob
      • Python: lxml
      • Python: Arguments
      • Python: Multiprocessing Pool
      • Python: Logging
        • Python: Create a Logger
      • Python: xlrd (Read Excel File)
      • Python: pyodbc with SQL Server
    • Python: Selenium Tests
    • Python: Create in Memory Zip File
    • Python: For Loops
    • Python: Enums
    • Python: Connect To Hadoop
    • Python: Run Module as Script
    • Python: CSV from Array
    • Python: Environment Variables
    • Python: Working with DateTimes
    • Python: Get First Occurrence of Value in Array
    • Python: Run Process
    • Python: Create a WHL File
    • Python: Unit Testing
    • Python: Misc
    • Python: Create pip Config
    • Python IDE Installation for Eclipse
  • SQL
    • PostgreSQL
      • Postgres: Setup
      • Postgres: Vacuum
      • Postgres: Backup
      • Postgres: Restore
      • Postgres: PgAgent Installation
      • Postgres: Tables
      • Postgres: Views
      • Postgres: Functions/Triggers
      • Postgres: Check Data Type
      • Postgres: String to Rows
      • Postgres: dblink
      • Postgres: Misc
    • CouchBase
      • CouchBase Testing
    • CouchDB
      • CouchDB Testing
    • MongoDB
      • MongoDB Testing
    • Formatting and Readability
  • Kerberos
    • Kerberos Server Installation
    • Kerberos: Commands
  • Mustang
    • How I Came To Restore a 1974 Mustang II FastBack
    • 1974 Mustang II Exhaust Replacement
    • 1974 Mustang II Engine Harness Replacement
    • 1974 Mustang II Dash Wiring Repair & Update
    • 1974 Mustang II Center Console Redone
    • 1974 Mustang II Timing Cover Fix
Programming & Mustangs! Proudly powered by WordPress
%d