@Scriptable public final class AccountName extends Object
Modifier and Type | Method and Description |
---|---|
static String |
get()
Calls
ThreadContext.getAccountName() . |
static boolean |
isAvailable()
Checks if an account name is available in the current thread.
|
public static boolean isAvailable()
true
if an account name is available in
the current thread, or false
otherwise.public static String get()
ThreadContext.getAccountName()
.null
if isAvailable()
returns false
.