public class UserUtil extends Object
Constructor and Description |
---|
UserUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getDisplayName(User user)
Get the display name for a given user.
|
static String |
getLogin()
Get the user's login name (or id)
|
static String |
getUserName(com.tinkerpop.blueprints.Graph graph)
Get the current user's display name.
|
public static String getLogin()
null
public static String getUserName(com.tinkerpop.blueprints.Graph graph)
graph
- a graph to retrieve the user from, or null
public static String getDisplayName(User user)
user
- the user, may be null
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a