Package com.tailf.dp

Class DpUserInfo

Object
com.tailf.dp.DpUserInfo

public class DpUserInfo extends Object
The user information.
  • Constructor Details

  • Method Details

    • getUserName

      public String getUserName()
      Get user name
      Returns:
      user name as string
    • getContext

      public String getContext()
      Get User session context, one of "cli" | "webui" | "netconf" | "noaaa" | any MAAPI string
      Returns:
      context as string
    • getIPAddress

      public ConfObject getIPAddress()
      Get User session IP address as ConfIPv4 or ConfIPv6 respectively
      Returns:
      IP address as ConfIPv4 or ConfIPv6
    • getUserId

      public int getUserId()
      Get user session id
      Returns:
      usid as int
    • getProtocol

      public int getProtocol()
      Get User session protocol type
      Returns:
      int representing the protocol type
    • toString

      public String toString()
      Formats the User information
      Overrides:
      toString in class Object