I was having the same problem yesterday, I discovered that you also have to include
<%@ page import="com.zimbra.cs.account.Provisioning.Account By" %>
and to get the account attributes I used this:
Account acct = Provisioning.getInstance().get(AccountBy.id, authToken.getAccountId()); |