Package com.tailf.dp
Class DpUserInfo
Object
com.tailf.dp.DpUserInfo
The user information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet User session context, one of "cli" | "webui" | "netconf" | "noaaa" | any MAAPI stringGet User session IP address as ConfIPv4 or ConfIPv6 respectivelyint
Get User session protocol typeint
Get user session idGet user nametoString()
Formats the User information
-
Constructor Details
-
DpUserInfo
Internally used Constructor.- Throws:
ConfException
-
-
Method Details
-
getUserName
Get user name- Returns:
- user name as string
-
getContext
Get User session context, one of "cli" | "webui" | "netconf" | "noaaa" | any MAAPI string- Returns:
- context as string
-
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
Formats the User information
-