getUserName Method (SQLServerDatabaseMetaData)

Download JDBC driver

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