spring-framework / org.springframework.jdbc.core.metadata / CallMetaDataProvider / getUserName

getUserName

@Nullable abstract fun getUserName(): String

Get the name of the current user. Useful for meta data lookups etc.

Return
current user name from database connection