code: public static void removeGroupMembership( final ChaiUser user, final ChaiGroup group )
              throws ChaiOperationException, ChaiUnavailableException
      {
          if ( user == null )
          {
              throw new NullPointerException( "user cannot be null" );
          }
  
          if ( group == null )
          {
              throw new NullPointerException( "group cannot be null" );
          }
  
          //Delete the attribs off of the user
          user.deleteAttribute( ChaiConstant.ATTR_LDAP_GROUP_MEMBERSHIP, group.getEntryDN() );
          user.deleteAttribute( ChaiConstant.ATTR_LDAP_SECURITY_EQUALS, group.getEntryDN() );
  
          //Delete the attribs off of the group
          group.deleteAttribute( ChaiConstant.ATTR_LDAP_MEMBER, user.getEntryDN() );
          group.deleteAttribute( ChaiConstant.ATTR_LDAP_EQUIVALENT_TO_ME, user.getEntryDN() );
      }
docs: Remove a group membership for the supplied user and group.  This implementation
  takes care of all four attributes used in eDirectory static group associations:
  <ul>
  <li>{@link com.novell.ldapchai.ChaiConstant#ATTR_LDAP_GROUP_MEMBERSHIP}</li>
  <li>{@link com.novell.ldapchai.ChaiConstant#ATTR_LDAP_MEMBER}</li>
  <li>{@link com.novell.ldapchai.ChaiConstant#ATTR_LDAP_SECURITY_EQUALS}</li>
  <li>{@link com.novell.ldapchai.ChaiConstant#ATTR_LDAP_EQUIVALENT_TO_ME}</li>
  </ul>
  
  @param user  A valid {@code ChaiUser}
  @param group A valid {@code ChaiGroup}
  @throws com.novell.ldapchai.exception.ChaiUnavailableException If the ldap server(s) are not available
  @throws com.novell.ldapchai.exception.ChaiOperationException   If there is an error during the operation