The system enforces the rules in a GRANT LOGON or REVOKE LOGON statement according to the host group and user ID clauses in the statement. More specific clauses contained in a current GRANT or REVOKE statement take precedence over any more general clauses from a previous GRANT or REVOKE statement, for example:
GRANT LOGON ON ALL TO Adam
is superseded by limitation on host ID HGID2:
REVOKE LOGON ON HGID2
if user Adam is assigned to host group HGID2.