| title | getUserName Method (SQLServerDatabaseMetaData) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.reviewer | ||
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | 1ae81034-5de3-4f4a-b3f2-7d9d198a73af | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Retrieves the user name as known to this database.
public java.lang.String getUserName()
A String that contains the user name.
This getUserName method is specified by the getUserName method in the java.sql.DatabaseMetaData interface.
SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class