Class AccountName


  • @Scriptable
    public final class AccountName
    extends Object
    • Method Detail

      • isAvailable

        public static boolean isAvailable()
        Checks if an account name is available in the current thread.
        Returns:
        true if an account name is available in the current thread, or false otherwise.
      • get

        public static String get()
        Calls ThreadContext.getAccountName().
        Returns:
        The account name that is bound to the current thread, or null if isAvailable() returns false.