public boolean isPrivileged() throws GuacamoleException {
        return getUser().isPrivileged();
    }
Returns whether this user is effectively unrestricted by permissions,
such as a system administrator or an internal user operating via a
privileged UserContext. Permission inheritance via user groups is taken
into account.

@return
    true if this user should be unrestricted by permissions, false
    otherwise.

@throws GuacamoleException
    If an error occurs while determining whether permission restrictions
    apply to the user.
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/user/ModeledAuthenticatedUser.java