grant.setArgs(args);
if (type == GRANTEE_GUEST) grant.setPassword(password);
    public void grantAccess(String zimbraId, byte type, short rights, boolean inherit, String args) throws ServiceException {        if (type == GRANTEE_AUTHUSER)            zimbraId = GUID_AUTHUSER;        else if (type == GRANTEE_PUBLIC)        	zimbraId = GUID_PUBLIC;        else if (zimbraId == null)            throw ServiceException.INVALID_REQUEST("missing grantee id", null);        if (!mGrants.isEmpty())            for (Grant grant : mGrants)                if (grant.isGrantee(zimbraId)) {                    grant.setRights(rights, inherit);                    grant.setArgs(args);                    return;                }        mGrants.add(new Grant(zimbraId, type, rights, inherit, args));    }