Package oracle.nosql.driver

# Class UserInfo

java.lang.Object
oracle.nosql.driver.UserInfo

public class UserInfo extends Object
On-premises only.

A class that encapsulates the information associated with a user including the id and user name in the system.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getId()`
  Returns the id associated with the user.
  `String`
  `getName()`
  Returns the name associated with the user.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### getId

    public String getId()
    Returns the id associated with the user.
    Returns:
      the id string

  - ### getName

    public String getName()
    Returns the name associated with the user.
    Returns:
      the name string

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`