Scalable Database Server, HiRDB Version 8 UAP Development Guide

[Contents][Index][Back][Next]

16.11.8 getUser

(a) Function

Acquires the authorization identifier.

(b) Format
 
public String getUser()
 
(c) Argument

None.

(d) Return value

String
Sets the authorization identifier. If no authorization identifier has been set, null is returned.
(e) Functional detail

Returns the authorization identifier specified by the setUser method.

If the setUser method is used to set a password, and if a DB connection method (DataSource.getConnection method, ConnectionPoolDataSource.getPooledConnection method, or XADataSource.getXAConnection method) that has an authorization identifier and a password set as arguments is also called, the authorization identifier setting specified by the DB connection method is returned.

(f) Exception that occurs

None.