Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.33 KB

File metadata and controls

45 lines (35 loc) · 1.33 KB
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
SQLServerDatabaseMetaData.getUserName
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 1ae81034-5de3-4f4a-b3f2-7d9d198a73af
author David-Engel
ms.author v-daenge

getUserName Method (SQLServerDatabaseMetaData)

[!INCLUDEDriver_JDBC_Download]

Retrieves the user name as known to this database.

Syntax

  
public java.lang.String getUserName()  

Return Value

A String that contains the user name.

Exceptions

SQLServerException

Remarks

This getUserName method is specified by the getUserName method in the java.sql.DatabaseMetaData interface.

See Also

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class