public long getUserId() { if (userId != null) return userId.longValue(); if (!apiServer) s_logger.warn("Null user id in UserContext " + ProcessUtil.dumpStack()); return 0; }
public long getAccountId() { if (accountId != null) return accountId.longValue(); if (!apiServer) s_logger.warn("Null account id in UserContext " + ProcessUtil.dumpStack()); return 0; }